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.



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

def filename
  @filename
end

#linenoObject

Returns the value of attribute lineno.



21
22
23
# File 'lib/build-tool/cfg/lexer_base.rb', line 21

def lineno
  @lineno
end

Instance Method Details

#to_sObject



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

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