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 ⇒ Object (private)
25 26 27 |
# File 'lib/rails/generators/rails/app/app_generator.rb', line 25 def method_missing(...) @generator.send(...) end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/rails/generators/rails/app/app_generator.rb', line 8 def @options end |
Instance Method Details
#initialize(generator) ⇒ Object
10 11 12 13 |
# File 'lib/rails/generators/rails/app/app_generator.rb', line 10 def initialize(generator) @generator = generator @options = generator. end |