Module: YamlDb::Helper

Defined in:
lib/yaml_db.rb

Class Method Summary collapse

Class Method Details

.dumperObject



14
15
16
# File 'lib/yaml_db.rb', line 14

def self.dumper
  YamlDb::Dump
end

.extensionObject



18
19
20
# File 'lib/yaml_db.rb', line 18

def self.extension
  "yml"
end

.loaderObject



10
11
12
# File 'lib/yaml_db.rb', line 10

def self.loader
  YamlDb::Load
end