Class: GitDS::ModelItem
- Inherits:
-
Object
- Object
- GitDS::ModelItem
- Extended by:
- DbModelItemClass
- Includes:
- DbModelItemObject
- Defined in:
- lib/git-ds/model/db_item.rb
Overview
Base class for DB-only ModelItem objects. These do not appear in the filesystem.
Instance Attribute Summary
Attributes included from ModelItemObject
Instance Method Summary collapse
-
#initialize(model, path) ⇒ ModelItem
constructor
A new instance of ModelItem.
Methods included from ModelItemClass
#binary_property, #build_path, #create, #create_in_path, #define_db_property, #define_fs_property, #exist?, #fill, #fill_properties, #ident, #ident_key, #instance_path, #link_property, #list, #list_in_path, #name, #path, #properties, #property
Methods included from ModelItemObject
#array_property, #bool_property, #children, #clear_cache, #delete, #float_property, #ident, #initialize_item, #integer_property, #path, #properties, #property, #property_cache, #set_property, #timestamp_property, #valid?
Constructor Details
#initialize(model, path) ⇒ ModelItem
Returns a new instance of ModelItem.
41 42 43 |
# File 'lib/git-ds/model/db_item.rb', line 41 def initialize(model, path) initialize_item(model, path) end |