class OpenEHR::RM::Common::Archetyped::Pathable
Attributes
parent[RW]
Public Class Methods
new(args = { })
click to toggle source
# File lib/open_ehr/rm/common/archetyped.rb, line 19 def initialize(args = { }) self.parent = args[:parent] end
Public Instance Methods
item_at_path(path)
click to toggle source
# File lib/open_ehr/rm/common/archetyped.rb, line 23 def item_at_path(path) raise NotImplementedError, "item_at_path must be implemented" end
items_at_path(path)
click to toggle source
# File lib/open_ehr/rm/common/archetyped.rb, line 27 def items_at_path(path) raise NotImplementedError, "items_at_path must be implemented" end
path_exists?(path)
click to toggle source
# File lib/open_ehr/rm/common/archetyped.rb, line 31 def path_exists?(path) raise NotImplementedError, "path_exists? must be implemented" end
path_of_item(item)
click to toggle source
# File lib/open_ehr/rm/common/archetyped.rb, line 35 def path_of_item(item) raise NotImplementedError, "path_of_item must be implemented" end
path_unique?(path)
click to toggle source
# File lib/open_ehr/rm/common/archetyped.rb, line 39 def path_unique?(path) raise NotImplementedError, "path_unique? must be implemented" end