console_with_helpers.rb

Path: vendor/rails/railties/lib/console_with_helpers.rb
Last Update: Wed Nov 19 14:28:38 +0000 2008

Required files

application  

Methods

helper  

Public Instance methods

[Source]

    # File vendor/rails/railties/lib/console_with_helpers.rb, line 13
13: def helper(*helper_names)
14:   returning @helper_proxy ||= Object.new do |helper|
15:     helper_names.each { |h| helper.extend "#{h}_helper".classify.constantize }
16:   end
17: end

[Validate]