Class: DitzStr::Component
- Inherits:
-
ModelObject
- Object
- ModelObject
- DitzStr::Component
- Defined in:
- lib/ditzstr/model-objects.rb
Instance Method Summary collapse
Methods inherited from ModelObject
#changed!, #changed?, changes_are_logged, create, create_interactively, #deserialized_form_of, #each_modelobject, field, field_names, from, inherited, #initialize, #inspect, #log, #save!, #serialized_form_of, #to_s, #to_yaml, #to_yaml_type, #unchanged!, yaml_domain, yaml_other_thing
Constructor Details
This class inherits a constructor from DitzStr::ModelObject
Instance Method Details
#name_prefix ⇒ Object
7 |
# File 'lib/ditzstr/model-objects.rb', line 7 def name_prefix; name.gsub(/\s+/, "-").downcase end |