Module: Rails::ActionMethods
- Defined in:
- lib/rails/generators/rails/app/app_generator.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &block) ⇒ Object (private)
TODO: Remove once this is fully in place
23 24 25 |
# File 'lib/rails/generators/rails/app/app_generator.rb', line 23 def method_missing(meth, *args, &block) @generator.send(meth, *args, &block) end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/rails/generators/rails/app/app_generator.rb', line 5 def @options end |
Instance Method Details
#initialize(generator) ⇒ Object
7 8 9 10 |
# File 'lib/rails/generators/rails/app/app_generator.rb', line 7 def initialize(generator) @generator = generator @options = generator. end |