Exception: TextVeloper::TextVeloperError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/text_veloper/util.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, exception) ⇒ TextVeloperError

Returns a new instance of TextVeloperError.



15
16
17
18
# File 'lib/text_veloper/util.rb', line 15

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

Instance Attribute Details

#exceptionObject

Returns the value of attribute exception.



13
14
15
# File 'lib/text_veloper/util.rb', line 13

def exception
  @exception
end