Module: Hyrax::Ingest::HasIteration

Included in:
Fetcher::CSVFile, Ingester::Base, Runner
Defined in:
lib/hyrax/ingest/has_iteration.rb

Instance Method Summary collapse

Instance Method Details

#iterationObject



13
14
15
# File 'lib/hyrax/ingest/has_iteration.rb', line 13

def iteration
  @iteration ||= 0
end

#iteration=(iteration) ⇒ Object



9
10
11
# File 'lib/hyrax/ingest/has_iteration.rb', line 9

def iteration=(iteration)
  @iteration = iteration.to_i
end