Class: MegaMutex::Configuration
- Inherits:
-
Object
- Object
- MegaMutex::Configuration
- Defined in:
- lib/mega_mutex.rb
Instance Attribute Summary collapse
-
#memcache_servers ⇒ Object
Returns the value of attribute memcache_servers.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
91 92 93 94 |
# File 'lib/mega_mutex.rb', line 91 def initialize @memcache_servers = 'localhost' @namespace = 'mega_mutex' end |
Instance Attribute Details
#memcache_servers ⇒ Object
Returns the value of attribute memcache_servers.
89 90 91 |
# File 'lib/mega_mutex.rb', line 89 def memcache_servers @memcache_servers end |
#namespace ⇒ Object
Returns the value of attribute namespace.
89 90 91 |
# File 'lib/mega_mutex.rb', line 89 def namespace @namespace end |