Class: SeedGimmick::SeedIO::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/seed_gimmick/seed_io/base.rb

Direct Known Subclasses

YamlFile

Instance Attribute Summary collapse

Instance Method Summary collapse

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_fileObject (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_dataObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/seed_gimmick/seed_io/base.rb', line 10

def load_data
  raise NotImplementedError
end