Module: YAMLCommand::Console

Extended by:
Console
Included in:
Console
Defined in:
lib/yaml_command.rb

Instance Method Summary collapse

Instance Method Details

#slurp(dir, options = {}) ⇒ Object



20
21
22
23
# File 'lib/yaml_command.rb', line 20

def slurp(dir, options={})
  slurp = SlurpCommand.new(options)
  slurp.call(dir)
end

#splat(file, options = {}) ⇒ Object



26
27
28
29
# File 'lib/yaml_command.rb', line 26

def splat(file, options={})
  splat = SplatCommand.new(options)
  splat.call(file)
end