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.



41
42
43
# File 'lib/rbbt/util/misc/exceptions.rb', line 41

def initialize(payload)
  @payload = payload
end

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



40
41
42
# File 'lib/rbbt/util/misc/exceptions.rb', line 40

def payload
  @payload
end