Module: RailsAssist::Artifact::Observer

Extended by:
Observer
Included in:
Observer
Defined in:
lib/rails_artifactor/artifact/markers.rb

Instance Method Summary collapse

Instance Method Details

#observer_marker(name, options = nil) ⇒ Object



43
44
45
# File 'lib/rails_artifactor/artifact/markers.rb', line 43

def observer_marker name, options=nil
  "#{name.to_s.camelize}Observer < ActiveRecord::Observer"
end