Exception: Recog::FingerprintParseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/recog/fingerprint_parse_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, line_number = nil) ⇒ FingerprintParseError

Returns a new instance of FingerprintParseError.



7
8
9
10
# File 'lib/recog/fingerprint_parse_error.rb', line 7

def initialize(msg, line_number = nil)
  @line_number = line_number
  super(msg)
end

Instance Attribute Details

#line_numberObject (readonly)

Returns the value of attribute line_number.



5
6
7
# File 'lib/recog/fingerprint_parse_error.rb', line 5

def line_number
  @line_number
end