Class: Dynomite::Seed
- Inherits:
-
Object
- Object
- Dynomite::Seed
- Defined in:
- lib/dynomite/seed.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Seed
constructor
A new instance of Seed.
- #run ⇒ Object
Constructor Details
Instance Method Details
#run ⇒ Object
8 9 10 11 |
# File 'lib/dynomite/seed.rb', line 8 def run file = "dynamodb/seeds.rb" load(file) if File.exist?(file) end |