Method: Rails::Generators::ActiveModel#initialize

Defined in:
railties/lib/rails/generators/active_model.rb

#initialize(name) ⇒ ActiveModel

Returns a new instance of ActiveModel.



31
32
33
# File 'railties/lib/rails/generators/active_model.rb', line 31

def initialize(name)
  @name = name
end