Class: WithAdvisoryLock::LockStackItem

Inherits:
Struct
  • Object
show all
Defined in:
lib/with_advisory_lock/base.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



19
20
21
# File 'lib/with_advisory_lock/base.rb', line 19

def name
  @name
end

#sharedObject

Returns the value of attribute shared

Returns:

  • (Object)

    the current value of shared



19
20
21
# File 'lib/with_advisory_lock/base.rb', line 19

def shared
  @shared
end