Class: Copian::Collector::AbstractCollector

Inherits:
Object
  • Object
show all
Defined in:
lib/copian/collector/abstract_collector.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(manager) ⇒ AbstractCollector

Returns a new instance of AbstractCollector.



4
5
6
# File 'lib/copian/collector/abstract_collector.rb', line 4

def initialize(manager)
  @manager = manager
end

Instance Method Details

#collectObject

Raises:

  • (NoMethodError)


7
8
9
# File 'lib/copian/collector/abstract_collector.rb', line 7

def collect
  raise NoMethodError, "You must implement a collect method"
end