Class: CamtParser::Type::Code

Inherits:
Object
  • Object
show all
Defined in:
lib/camt_parser/general/type/code.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ Code

Returns a new instance of Code.


6
7
8
# File 'lib/camt_parser/general/type/code.rb', line 6

def initialize(code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code


4
5
6
# File 'lib/camt_parser/general/type/code.rb', line 4

def code
  @code
end