Exception: BuildTool::Cfg::LexerBase::ScanError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/build-tool/cfg/lexer_base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#filenameObject

Returns the value of attribute filename.



24
25
26
# File 'lib/build-tool/cfg/lexer_base.rb', line 24

def filename
  @filename
end

#linenoObject

Returns the value of attribute lineno.



23
24
25
# File 'lib/build-tool/cfg/lexer_base.rb', line 23

def lineno
  @lineno
end

Instance Method Details

#to_sObject



25
26
27
# File 'lib/build-tool/cfg/lexer_base.rb', line 25

def to_s
    "#{filename}[#{lineno}]: #{super}"
end