Class: MegaMutex::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/mega_mutex.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_serversObject

Returns the value of attribute memcache_servers.



89
90
91
# File 'lib/mega_mutex.rb', line 89

def memcache_servers
  @memcache_servers
end

#namespaceObject

Returns the value of attribute namespace.



89
90
91
# File 'lib/mega_mutex.rb', line 89

def namespace
  @namespace
end