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



21
22
23
# File 'lib/with_advisory_lock/base.rb', line 21

def name
  @name
end

#sharedObject

Returns the value of attribute shared

Returns:

  • (Object)

    the current value of shared



21
22
23
# File 'lib/with_advisory_lock/base.rb', line 21

def shared
  @shared
end