Class: Funk::Evaluators::Eager
- Inherits:
-
Object
- Object
- Funk::Evaluators::Eager
- Defined in:
- lib/funk/evaluators/eager.rb
Instance Attribute Summary collapse
-
#graph ⇒ Object
readonly
Returns the value of attribute graph.
Instance Method Summary collapse
- #call(input) ⇒ Object
-
#initialize(graph, instruments: []) ⇒ Eager
constructor
A new instance of Eager.
Constructor Details
#initialize(graph, instruments: []) ⇒ Eager
Returns a new instance of Eager.
8 9 10 |
# File 'lib/funk/evaluators/eager.rb', line 8 def initialize(graph, instruments: []) @graph, @instruments = graph, instruments end |
Instance Attribute Details
#graph ⇒ Object (readonly)
Returns the value of attribute graph.
6 7 8 |
# File 'lib/funk/evaluators/eager.rb', line 6 def graph @graph end |