Exception: CapriccIo::Error

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/capriccio.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#current_messageObject

Returns the value of attribute current_message.



12
13
14
# File 'lib/capriccio.rb', line 12

def current_message
  @current_message
end

Instance Method Details

#messageObject



14
15
16
# File 'lib/capriccio.rb', line 14

def message
  super + " in message `#{@current_message}` at line #{@current_message.line}"
end