Skip to content

Instantly share code, notes, and snippets.

View JohnFord's full-sized avatar

John Ford JohnFord

View GitHub Profile
@JohnFord
JohnFord / multi_store_finder.rb
Created April 17, 2011 04:13 — forked from sarchertech/multi_store_finder.rb
An atlrug member asked for a code-review so I made a couple of changes and suggestions
require 'yaml'
class Store
attr_accessor :name, :address, :city, :state, :zip, :phone_number
end
def list_of_stores
files = Dir.glob('*.yml')
stores = []