Sha256: 5a653a2b70abd79ec345a8ac9652fd966eb8c30d37caf32994a82dd2cd799e83

Contents?: true

Size: 232 Bytes

Versions: 22

Compression:

Stored size: 232 Bytes

Contents

module Hirb
  module ObjectMethods
    # Takes same options as Hirb::View.render_output.
    def view(*args)
      Hirb::View.console_render_output(*(args.unshift(self)))
    end
  end
end

Object.send :include, Hirb::ObjectMethods

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
Chrononaut-hirb-0.2.1 lib/hirb/import_object.rb
Chrononaut-hirb-0.2.3 lib/hirb/import_object.rb
cldwalker-hirb-0.1.0 lib/hirb/import_object.rb
cldwalker-hirb-0.1.1 lib/hirb/import_object.rb
cldwalker-hirb-0.1.2 lib/hirb/import_object.rb
cldwalker-hirb-0.2.0 lib/hirb/import_object.rb
cldwalker-hirb-0.2.1 lib/hirb/import_object.rb
cldwalker-hirb-0.2.2 lib/hirb/import_object.rb
cldwalker-hirb-0.2.3 lib/hirb/import_object.rb
cldwalker-hirb-0.2.4 lib/hirb/import_object.rb
cldwalker-hirb-0.2.5 lib/hirb/import_object.rb
cldwalker-hirb-0.2.6 lib/hirb/import_object.rb
hirb-0.2.10 lib/hirb/import_object.rb
hirb-0.2.9 lib/hirb/import_object.rb
hirb-0.2.8 lib/hirb/import_object.rb
hirb-0.2.7 lib/hirb/import_object.rb
hirb-0.2.6 lib/hirb/import_object.rb
hirb-0.2.2 lib/hirb/import_object.rb
hirb-0.2.3 lib/hirb/import_object.rb
hirb-0.2.4 lib/hirb/import_object.rb