Class: OpenEHR::Parser::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/open_ehr/parser.rb

Direct Known Subclasses

ADLParser

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#filenameObject (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

#parseObject

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/open_ehr/parser.rb', line 12

def parse
  raise NotImplementedError
end