Class: Vagrant::Boxen::Modules::Memcached
- Inherits:
-
Object
- Object
- Vagrant::Boxen::Modules::Memcached
- Includes:
- BaseModule
- Defined in:
- lib/vagrant-boxen/modules/memcached.rb
Defined Under Namespace
Modules: Config
Instance Method Summary collapse
- #build_manifest ⇒ Object
-
#initialize(options = nil, &options_block) ⇒ Memcached
constructor
A new instance of Memcached.
Constructor Details
#initialize(options = nil, &options_block) ⇒ Memcached
Returns a new instance of Memcached.
11 12 13 14 |
# File 'lib/vagrant-boxen/modules/memcached.rb', line 11 def initialize( = nil, &) = ([:memory], , &) @options = { :max_memory => .fetch(:memory, '25') } end |
Instance Method Details
#build_manifest ⇒ Object
16 17 18 |
# File 'lib/vagrant-boxen/modules/memcached.rb', line 16 def build_manifest "class { 'memcached': #{}}" end |