Class: OpenEHR::Serializer::BaseSerializer
- Inherits:
-
Object
- Object
- OpenEHR::Serializer::BaseSerializer
- Defined in:
- lib/open_ehr/serializer.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(archetype) ⇒ BaseSerializer
constructor
A new instance of BaseSerializer.
- #serialize ⇒ Object
Constructor Details
#initialize(archetype) ⇒ BaseSerializer
Returns a new instance of BaseSerializer.
11 12 13 |
# File 'lib/open_ehr/serializer.rb', line 11 def initialize(archetype) @archetype = archetype end |
Instance Method Details
#serialize ⇒ Object
15 16 17 |
# File 'lib/open_ehr/serializer.rb', line 15 def serialize return self.merge end |