Class: Finitio::Inference
- Inherits:
-
Object
- Object
- Finitio::Inference
- Defined in:
- lib/finitio/inference.rb
Instance Attribute Summary collapse
-
#system ⇒ Object
readonly
Returns the value of attribute system.
Instance Method Summary collapse
- #call(input) ⇒ Object
-
#initialize(system, options = {}) ⇒ Inference
constructor
A new instance of Inference.
Constructor Details
#initialize(system, options = {}) ⇒ Inference
Returns a new instance of Inference.
4 5 6 7 |
# File 'lib/finitio/inference.rb', line 4 def initialize(system, = {}) @system = system @options = end |
Instance Attribute Details
#system ⇒ Object (readonly)
Returns the value of attribute system.
8 9 10 |
# File 'lib/finitio/inference.rb', line 8 def system @system end |
Instance Method Details
#call(input) ⇒ Object
10 11 12 |
# File 'lib/finitio/inference.rb', line 10 def call(input) infer_type(input) end |