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