Class: GitDS::FsModelItem

Inherits:
Object
  • Object
show all
Extended by:
FsModelItemClass
Includes:
FsModelItemObject
Defined in:
lib/git-ds/model/fs_item.rb

Overview

Base class for filesystem ModelItem objects.

Instance Attribute Summary

Attributes included from ModelItemObject

#model

Instance Method Summary collapse

Methods included from FsModelItemClass

property

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) ⇒ FsModelItem

Returns a new instance of FsModelItem.



50
51
52
# File 'lib/git-ds/model/fs_item.rb', line 50

def initialize(model, path)
  initialize_item(model, path)
end