Class: Brainstorm::Neuron
- Inherits:
-
Object
- Object
- Brainstorm::Neuron
- Includes:
- Unobservable::Support
- Defined in:
- lib/brainstorm.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#>>(callable) ⇒ Object
68 69 70 71 |
# File 'lib/brainstorm.rb', line 68 def >>(callable) self.fired.register {|i| callable.call(i) } return callable end |
#call(item) ⇒ Object
64 65 66 |
# File 'lib/brainstorm.rb', line 64 def call(item) raise NotImplementedError, "Neuron is an abstact base class." end |