lib/hirb/console.rb in cldwalker-hirb-0.1.1 vs lib/hirb/console.rb in cldwalker-hirb-0.1.2
- old
+ new
@@ -7,10 +7,10 @@
module Console
# Renders a table for the given object. Takes same options as Hirb::Helpers::Table.render.
def table(output, options={})
Hirb::View.console_render_output(output, options.merge(:class=>"Hirb::Helpers::AutoTable"))
end
- # Renders any specified view for the given object. Takes same options as Hirb::View.render_output.
+ # Renders any specified view for the given object. Takes same options as Hirb::View.console_render_output.
def view(*args)
Hirb::View.console_render_output(*args)
end
end
end