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.



49
50
51
# File 'lib/rbbt/util/misc/exceptions.rb', line 49

def initialize(payload)
  @payload = payload
end

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



48
49
50
# File 'lib/rbbt/util/misc/exceptions.rb', line 48

def payload
  @payload
end