Class: BBFlow::Persistent::Store
- Inherits:
-
Object
- Object
- BBFlow::Persistent::Store
- Defined in:
- lib/bb_flow/persistent.rb
Constant Summary collapse
- FILE_NAME =
'.bb_flow'- DIRS =
{ global: ENV['HOME'], local: Dir.pwd }
Class Method Summary collapse
Class Method Details
.get(name) ⇒ YAML::Store
66 67 68 69 |
# File 'lib/bb_flow/persistent.rb', line 66 def self.get(name) @memo ||= {} @memo[name] ||= YAML::Store.new(location(name)) end |