Class: SeedGimmick::SeedIO::Base
- Inherits:
-
Object
- Object
- SeedGimmick::SeedIO::Base
- Defined in:
- lib/seed_gimmick/seed_io/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#seed_file ⇒ Object
readonly
Returns the value of attribute seed_file.
Instance Method Summary collapse
-
#initialize(seed_file) ⇒ Base
constructor
A new instance of Base.
- #load_data ⇒ Object
Constructor Details
#initialize(seed_file) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/seed_gimmick/seed_io/base.rb', line 6 def initialize(seed_file) @seed_file = seed_file end |
Instance Attribute Details
#seed_file ⇒ Object (readonly)
Returns the value of attribute seed_file.
4 5 6 |
# File 'lib/seed_gimmick/seed_io/base.rb', line 4 def seed_file @seed_file end |
Instance Method Details
#load_data ⇒ Object
10 11 12 |
# File 'lib/seed_gimmick/seed_io/base.rb', line 10 def load_data raise NotImplementedError end |