Class: OpenEHR::RM::Common::Directory::Folder
- Inherits:
-
Archetyped::Locatable
- Object
- Archetyped::Pathable
- Archetyped::Locatable
- OpenEHR::RM::Common::Directory::Folder
- Defined in:
- lib/open_ehr/rm/common/directory.rb
Constant Summary
Constants included from Archetyped::LocaterConstants
Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR
Instance Attribute Summary collapse
-
#folders ⇒ Object
Returns the value of attribute folders.
-
#items ⇒ Object
Returns the value of attribute items.
Attributes inherited from Archetyped::Locatable
#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid
Attributes inherited from Archetyped::Pathable
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ Folder
constructor
A new instance of Folder.
Methods inherited from Archetyped::Locatable
Methods inherited from Archetyped::Pathable
#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?
Constructor Details
#initialize(args = { }) ⇒ Folder
Returns a new instance of Folder.
13 14 15 16 17 |
# File 'lib/open_ehr/rm/common/directory.rb', line 13 def initialize(args = { }) super(args) self.folders = args[:folders] self.items = args[:items] end |
Instance Attribute Details
#folders ⇒ Object
Returns the value of attribute folders.
11 12 13 |
# File 'lib/open_ehr/rm/common/directory.rb', line 11 def folders @folders end |
#items ⇒ Object
Returns the value of attribute items.
10 11 12 |
# File 'lib/open_ehr/rm/common/directory.rb', line 10 def items @items end |