Class: Officer::Lock
- Inherits:
-
Object
- Object
- Officer::Lock
- Defined in:
- lib/officer/lock_store.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#queue ⇒ Object
readonly
Returns the value of attribute queue.
Instance Method Summary collapse
-
#initialize(name) ⇒ Lock
constructor
A new instance of Lock.
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
10 11 12 |
# File 'lib/officer/lock_store.rb', line 10 def name @name end |
#queue ⇒ Object (readonly)
Returns the value of attribute queue.
11 12 13 |
# File 'lib/officer/lock_store.rb', line 11 def queue @queue end |