Module: Rails3::Assist::Artifact::Marker
- Included in:
- CRUD::Create
- Defined in:
- lib/rails3_artifactor/artifact/markers.rb
Instance Method Summary collapse
Instance Method Details
#marker(name, type, options = nil) ⇒ Object
3 4 5 6 7 |
# File 'lib/rails3_artifactor/artifact/markers.rb', line 3 def marker name, type, =nil method = "#{type}_marker" raise "No such marker method in this context: #{self}, ##{method}" if !respond_to? method send method, name, end |