Class: OsCtld::LockRegistry::Lock
- Inherits:
-
Struct
- Object
- Struct
- OsCtld::LockRegistry::Lock
- Defined in:
- lib/osctld/lock_registry.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
Returns the value of attribute backtrace.
-
#id ⇒ Object
Returns the value of attribute id.
-
#object ⇒ Object
Returns the value of attribute object.
-
#state ⇒ Object
Returns the value of attribute state.
-
#thread ⇒ Object
Returns the value of attribute thread.
-
#time ⇒ Object
Returns the value of attribute time.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#backtrace ⇒ Object
Returns the value of attribute backtrace
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def backtrace @backtrace end |
#id ⇒ Object
Returns the value of attribute id
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def id @id end |
#object ⇒ Object
Returns the value of attribute object
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def object @object end |
#state ⇒ Object
Returns the value of attribute state
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def state @state end |
#thread ⇒ Object
Returns the value of attribute thread
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def thread @thread end |
#time ⇒ Object
Returns the value of attribute time
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def time @time end |
#type ⇒ Object
Returns the value of attribute type
12 13 14 |
# File 'lib/osctld/lock_registry.rb', line 12 def type @type end |
Instance Method Details
#==(other) ⇒ Object
13 14 15 |
# File 'lib/osctld/lock_registry.rb', line 13 def ==(other) thread == other.thread && object == other.object && type == other.type end |