Class: W3map::Neurons::Neuron
- Inherits:
-
Object
- Object
- W3map::Neurons::Neuron
- Defined in:
- lib/w3map/neurons/neuron.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(bot) ⇒ Neuron
constructor
A new instance of Neuron.
- #process(url, response, data) ⇒ Object
Constructor Details
#initialize(bot) ⇒ Neuron
Returns a new instance of Neuron.
5 6 7 |
# File 'lib/w3map/neurons/neuron.rb', line 5 def initialize(bot) @bot = bot end |
Instance Method Details
#process(url, response, data) ⇒ Object
8 9 10 |
# File 'lib/w3map/neurons/neuron.rb', line 8 def process(url, response, data) raise NotImplementedError end |