Module: Cabinet
- Defined in:
- lib/cabinet.rb,
lib/cabinet/instance.rb
Defined Under Namespace
Classes: Instance
Constant Summary collapse
- VERSION =
'0.2.2'
Class Method Summary collapse
Class Method Details
.cloud(provider, options = {}) ⇒ Object
9 10 11 |
# File 'lib/cabinet.rb', line 9 def self.cloud(provider, ={}) self.init(provider, ) end |
.init(*args) ⇒ Object
17 18 19 |
# File 'lib/cabinet.rb', line 17 def self.init(*args) Cabinet::Instance.new(*args) end |
.local(path = '/') ⇒ Object
13 14 15 |
# File 'lib/cabinet.rb', line 13 def self.local(path='/') self.init(:local, {:local_root => path}) end |