Exception: KeepLocked

Inherits:
Exception
  • Object
show all
Defined in:
lib/rbbt/util/misc/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(payload) ⇒ KeepLocked

Returns a new instance of KeepLocked.



13
14
15
# File 'lib/rbbt/util/misc/exceptions.rb', line 13

def initialize(payload)
  @payload = payload
end

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



12
13
14
# File 'lib/rbbt/util/misc/exceptions.rb', line 12

def payload
  @payload
end