Module Hirb::ObjectMethods

  1. lib/hirb/import_object.rb

Methods

public instance

  1. view

Public instance methods

view (*args)

Takes same options as Hirb::View.render_output.

[show source]
# File lib/hirb/import_object.rb, line 4
    def view(*args)
      Hirb::Console.render_output(*(args.unshift(self)))
    end