Exception: RgGen::RegisterMapError

Inherits:
RgGenError
  • Object
show all
Defined in:
lib/rggen/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, position) ⇒ RegisterMapError

Returns a new instance of RegisterMapError.



15
16
17
18
# File 'lib/rggen/exceptions.rb', line 15

def initialize(message, position)
  super(message)
  @position = position
end

Instance Attribute Details

#positionObject (readonly)

Returns the value of attribute position.



20
21
22
# File 'lib/rggen/exceptions.rb', line 20

def position
  @position
end