Module: GlobalLock
Instance Attribute Summary collapse
-
#config(&block) ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
Instance Attribute Details
#config(&block) ⇒ Object (readonly)
Returns the value of attribute config.
9 10 11 |
# File 'lib/global_lock.rb', line 9 def config @config end |
Instance Method Details
#singleton ⇒ Object
11 12 13 |
# File 'lib/global_lock.rb', line 11 def singleton @singleton = GlobalLock::Lock.new(config) end |