Class: RubyHaze::Lock
- Inherits:
-
Object
- Object
- RubyHaze::Lock
- Includes:
- Mixins::DOProxy
- Defined in:
- lib/rubyhaze/lock.rb
Instance Attribute Summary
Attributes included from Mixins::DOProxy
Attributes included from Mixins::Proxy
Instance Method Summary collapse
-
#initialize(name) ⇒ Lock
constructor
A new instance of Lock.
Methods included from Mixins::DOProxy
Methods included from Mixins::NativeException
Methods included from Mixins::Compare
Methods included from Mixins::Proxy
included, #method_missing, #respond_to?
Constructor Details
#initialize(name) ⇒ Lock
Returns a new instance of Lock.
7 8 9 10 |
# File 'lib/rubyhaze/lock.rb', line 7 def initialize(name) @name = name.to_s @proxy_object = Hazelcast.get_lock @name end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RubyHaze::Mixins::Proxy