Method: Cyclid::UI::Memcache#initialize
- Defined in:
- app/cyclid_ui/memcache.rb
#initialize(args) ⇒ Memcache
Returns a new instance of Memcache.
16 17 18 19 |
# File 'app/cyclid_ui/memcache.rb', line 16 def initialize(args) @server = args[:server] @expiry = args[:expiry] || 3600 end |