Class: Ditz::Component
- Inherits:
-
ModelObject
- Object
- ModelObject
- Ditz::Component
- Defined in:
- lib/ditz/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, #save!, #serialized_form_of, #to_s, #to_yaml, #to_yaml_type, #unchanged!, #validate!, yaml_domain, yaml_other_thing
Constructor Details
This class inherits a constructor from Ditz::ModelObject
Instance Method Details
#name_prefix ⇒ Object
7 |
# File 'lib/ditz/model-objects.rb', line 7 def name_prefix; name.gsub(/\s+/, "-").downcase end |