class OpenEHR::AM::Archetype::ConstraintModel::CPrimitiveObject
Attributes
item[RW]
Public Class Methods
new(args = { })
click to toggle source
Calls superclass method
OpenEHR::AM::Archetype::ConstraintModel::CDefinedObject::new
# File lib/openehr/am/archetype/constraint_model.rb, line 218 def initialize(args = { }) super self.item = args[:item] end
Public Instance Methods
any_allowed?()
click to toggle source
# File lib/openehr/am/archetype/constraint_model.rb, line 223 def any_allowed? return item.nil? end
method_missing(meth, *args)
click to toggle source
Calls superclass method
# File lib/openehr/am/archetype/constraint_model.rb, line 234 def method_missing(meth, *args) if !self.item.nil? && self.item.respond_to?(meth) self.item.send(meth, *args) else super end end