Exception: Packet::InvalidWorker

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidWorker

Returns a new instance of InvalidWorker.



4
5
6
# File 'lib/packet/packet_invalid_worker.rb', line 4

def initialize message
  @message = message
end

Instance Attribute Details

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/packet/packet_invalid_worker.rb', line 3

def message
  @message
end