Module: YamlDb::Helper

Defined in:
lib/fidius-common/yamldb/yaml_db.rb

Class Method Summary collapse

Class Method Details

.dumperObject



19
20
21
# File 'lib/fidius-common/yamldb/yaml_db.rb', line 19

def self.dumper
  YamlDb::Dump
end

.extensionObject



23
24
25
# File 'lib/fidius-common/yamldb/yaml_db.rb', line 23

def self.extension
  "yml"
end

.loaderObject



15
16
17
# File 'lib/fidius-common/yamldb/yaml_db.rb', line 15

def self.loader
  YamlDb::Load
end