Class: OpenEHR::AM::OpenEHRProfile::DataTypes::Quantity::CDvOrdinal
- Inherits:
-
CDomainType
- Object
- CDomainType
- OpenEHR::AM::OpenEHRProfile::DataTypes::Quantity::CDvOrdinal
- Defined in:
- lib/openehr/am/openehr_profile/data_types/quantity.rb
Instance Attribute Summary collapse
-
#list ⇒ Object
Returns the value of attribute list.
Instance Method Summary collapse
- #any_allowed? ⇒ Boolean
-
#initialize(args = { }) ⇒ CDvOrdinal
constructor
A new instance of CDvOrdinal.
Constructor Details
#initialize(args = { }) ⇒ CDvOrdinal
Returns a new instance of CDvOrdinal.
28 29 30 31 |
# File 'lib/openehr/am/openehr_profile/data_types/quantity.rb', line 28 def initialize(args = { }) super self.list = args[:list] end |
Instance Attribute Details
#list ⇒ Object
Returns the value of attribute list.
27 28 29 |
# File 'lib/openehr/am/openehr_profile/data_types/quantity.rb', line 27 def list @list end |
Instance Method Details
#any_allowed? ⇒ Boolean
33 34 35 |
# File 'lib/openehr/am/openehr_profile/data_types/quantity.rb', line 33 def any_allowed? @list.nil? end |