Class: Ditz::Component
- Inherits:
-
ModelObject
- Object
- ModelObject
- Ditz::Component
- Defined in:
- lib/model-objects.rb
Instance Method Summary collapse
Methods inherited from ModelObject
#after_deserialize, #before_serialize, #changed!, #changed?, changes_are_logged, create_interactively, #each_modelobject, field, fields, from, inherited, #initialize, #log, #save!, #to_yaml_properties, #to_yaml_type, yaml_domain, yaml_other_thing
Constructor Details
This class inherits a constructor from Ditz::ModelObject
Instance Method Details
#name_prefix ⇒ Object
7 |
# File 'lib/model-objects.rb', line 7 def name_prefix; @name.gsub(/\s+/, "-").downcase end |