Class: OpenEHR::Parser::Base
- Inherits:
-
Object
- Object
- OpenEHR::Parser::Base
- Defined in:
- lib/open_ehr/parser.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(filename) ⇒ Base
constructor
A new instance of Base.
- #parse ⇒ Object
Constructor Details
#initialize(filename) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/open_ehr/parser.rb', line 8 def initialize(filename) @filename = filename end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
6 7 8 |
# File 'lib/open_ehr/parser.rb', line 6 def filename @filename end |
Instance Method Details
#parse ⇒ Object
12 13 14 |
# File 'lib/open_ehr/parser.rb', line 12 def parse raise NotImplementedError end |