Class: Copian::Collector::AbstractCollector
- Inherits:
-
Object
- Object
- Copian::Collector::AbstractCollector
- Defined in:
- lib/copian/collector/abstract_collector.rb
Overview
:nodoc:
Direct Known Subclasses
AddressesCollector, BandwidthCollector, CiscoVlansCollector, DellVlansCollector, DescriptionCollector, HpVlansCollector, PortStatsCollector, PortsCollector
Instance Method Summary collapse
- #collect ⇒ Object
-
#initialize(manager) ⇒ AbstractCollector
constructor
A new instance of AbstractCollector.
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
#collect ⇒ Object
7 8 9 |
# File 'lib/copian/collector/abstract_collector.rb', line 7 def collect raise NoMethodError, "You must implement a collect method" end |