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.



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

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

Instance Attribute Details

#linenoObject

Returns the value of attribute lineno.



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

def lineno
  @lineno
end