Class: OpenEhr::RM::Support::AssumedTypes::List
- Inherits:
-
Object
- Object
- OpenEhr::RM::Support::AssumedTypes::List
- Defined in:
- lib/open_ehr/rm/support/assumed_types.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
Instance Method Summary collapse
- #first ⇒ Object
-
#initialize(arg) ⇒ List
constructor
A new instance of List.
- #last ⇒ Object
Constructor Details
#initialize(arg) ⇒ List
Returns a new instance of List.
25 26 27 |
# File 'lib/open_ehr/rm/support/assumed_types.rb', line 25 def initialize(arg) @content = arg end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
23 24 25 |
# File 'lib/open_ehr/rm/support/assumed_types.rb', line 23 def content @content end |
Instance Method Details
#first ⇒ Object
29 30 31 |
# File 'lib/open_ehr/rm/support/assumed_types.rb', line 29 def first @content.first end |
#last ⇒ Object
33 34 35 |
# File 'lib/open_ehr/rm/support/assumed_types.rb', line 33 def last @content.last end |