123456789_123456789_123456789_123456789_123456789_

Module: Rails::ActionMethods

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: railties/lib/rails/generators/rails/app/app_generator.rb

Instance Attribute Summary

Instance Method Summary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing (private)

[ GitHub ]

  
# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 25

def method_missing(...)
  @generator.send(...)
end

Instance Attribute Details

#options (readonly)

[ GitHub ]

  
# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 8

attr_reader :options

Instance Method Details

#initialize(generator)

[ GitHub ]

  
# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 10

def initialize(generator)
  @generator = generator
  @options   = generator.options
end