class OpenEHR::AM::Archetype::ConstraintModel::CPrimitiveObject

Attributes

item[RW]

Public Class Methods

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

Public Instance Methods

any_allowed?() click to toggle source
# File lib/open_ehr/am/archetype/constraint_model.rb, line 187
def any_allowed?
  return item.nil?
end