Module: Pairwise::Yaml

Defined in:
lib/pairwise/input_file.rb

Instance Method Summary collapse

Instance Method Details

#load_and_parseObject



35
36
37
38
39
40
41
42
# File 'lib/pairwise/input_file.rb', line 35

def load_and_parse
  require 'yaml'
  begin
    inputs = YAML.load_file(@filename)
  rescue
    nil
  end
end