module FakeElasticache
Constants
- VERSION
Public Class Methods
run!()
click to toggle source
# File lib/fake_elasticache.rb, line 9 def self.run! EventMachine.run { EventMachine.start_server options[:bind], options[:port], FakeElasticache::Server, options } end
Private Class Methods
options()
click to toggle source
# File lib/fake_elasticache.rb, line 17 def self.options @@options ||= ENV['CONTAINER'].nil? ? FakeElasticache::Options.parse : FakeElasticache::Options::Docker.parse end