Sha256: 17c4e31030d8c5fa6361e933ac09919969d9c734a9ed7e6815746226e9580da8
Contents?: true
Size: 244 Bytes
Versions: 5
Compression:
Stored size: 244 Bytes
Contents
module Gris class SeedLoader def initialize(file_path) @seed_file = file_path end def load_seed raise("Seed file '#{@seed_file}' does not exist.") unless File.file?(@seed_file) load @seed_file end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gris-0.6.8 | lib/gris/seed_loader.rb |
gris-0.6.7 | lib/gris/seed_loader.rb |
gris-0.6.6 | lib/gris/seed_loader.rb |
gris-0.6.5 | lib/gris/seed_loader.rb |
gris-0.6.2 | lib/gris/seed_loader.rb |