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.



96
97
98
# File 'lib/rbbt/util/misc/exceptions.rb', line 96

def initialize(payload)
  @payload = payload
end

Instance Attribute Details

#payloadObject

Returns the value of attribute payload.



95
96
97
# File 'lib/rbbt/util/misc/exceptions.rb', line 95

def payload
  @payload
end