Sha256: c3636a652197ef964afa87099e4009f6c072c03b07472d5d65569413414c1b7e
Contents?: true
Size: 248 Bytes
Versions: 3
Compression:
Stored size: 248 Bytes
Contents
module Gares class GareList def gares @gares ||= parse_gares end private def parse_gares result.compact.uniq.map do |gare| Gares::Gare.new(gare.slug, gare.name) end end end # GareList end # Gares
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gares-0.1.2 | lib/gares/gare_list.rb |
gares-0.1.1 | lib/gares/gare_list.rb |
gares-0.1.0 | lib/gares/gare_list.rb |