Sha256: 7723313f2c2cef157546333f16d585b85b48472042fb27a33dfca83c850ccec9

Contents?: true

Size: 308 Bytes

Versions: 1

Compression:

Stored size: 308 Bytes

Contents

require 'fitment/combo'
require 'fitment/parse'
require 'yaml'

YAML.load_file('examples/combos.yaml').each { |name, combos|
  puts name
  puts '-' * 8

  combos.each { |hsh|
    puts "%s %s" % [Fitment::Parse.tire(hsh.fetch "tire"),
                    Fitment::Parse.wheel(hsh.fetch "wheel")]
  }
  puts
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fitment-0.1.1.1 examples/combos.rb