Module: Hirb::ObjectMethods

Defined in:
lib/hirb/import_object.rb

Instance Method Summary collapse

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::View.console_render_output(*(args.unshift(self)))
end