class OpenEHR::AM::Archetype::ConstraintModel::ArchetypeInternalRef

Attributes

target_path[R]

Public Class Methods

new(args = { }) click to toggle source
# File lib/openehr/am/archetype/constraint_model.rb, line 301
def initialize(args = { })
  super
  self.target_path = args[:target_path]
end

Public Instance Methods

target_path=(target_path) click to toggle source
# File lib/openehr/am/archetype/constraint_model.rb, line 306
def target_path=(target_path)
  if target_path.nil? or target_path.empty?
    raise ArgumentError, 'target_path is mandatory'
  end
  @target_path = target_path
end