Exception: GenText::CheckFailed

Inherits:
Exception
  • Object
show all
Defined in:
lib/gen_text/compile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pos) ⇒ CheckFailed

Returns a new instance of CheckFailed.

Parameters:

  • pos (Parse::Position)


578
579
580
581
# File 'lib/gen_text/compile.rb', line 578

def initialize(pos)
  super("check failed")
  @pos = pos
end

Instance Attribute Details

#posParse::Position (readonly)

Returns pos.

Returns:

  • (Parse::Position)

    pos



584
585
586
# File 'lib/gen_text/compile.rb', line 584

def pos
  @pos
end