Module: Hirb::ObjectMethods
- Defined in:
- lib/hirb/import_object.rb
Instance Method Summary collapse
-
#view(*args) ⇒ Object
Takes same options as Hirb::View.render_output.
Instance Method Details
#view(*args) ⇒ Object
Takes same options as Hirb::View.render_output.
4 5 6 |
# File 'lib/hirb/import_object.rb', line 4 def view(*args) Hirb::Console.render_output(*(args.unshift(self))) end |