class OpenEHR::AM::OpenEHRProfile::DataTypes::Quantity::CDvQuantity
Attributes
list[RW]
property[RW]
Public Class Methods
new(args = { })
click to toggle source
Calls superclass method
OpenEHR::AM::Archetype::ConstraintModel::CDefinedObject::new
# File lib/openehr/am/openehr_profile/data_types/quantity.rb, line 11 def initialize(args = { }) super self.property = args[:property] self.list = args[:list] end
Public Instance Methods
any_allowed?()
click to toggle source
# File lib/openehr/am/openehr_profile/data_types/quantity.rb, line 17 def any_allowed? if @property.nil? && @list.nil? return true else return false end end