Class: Ripple::Generators::ObserverGenerator
Instance Method Summary collapse
Methods inherited from NamedBase
Instance Method Details
#create_observer_file ⇒ Object
9 10 11 |
# File 'lib/rails/generators/ripple/observer/observer_generator.rb', line 9 def create_observer_file template 'observer.rb.erb', File.join("app/models", class_path, "#{file_name}_observer.rb") end |