Exception: Faml::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/faml/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, lineno) ⇒ Error

Returns a new instance of Error.



6
7
8
9
# File 'lib/faml/error.rb', line 6

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

Instance Attribute Details

#linenoObject

Returns the value of attribute lineno.



4
5
6
# File 'lib/faml/error.rb', line 4

def lineno
  @lineno
end