Class: Finitio::Inference

Inherits:
Object
  • Object
show all
Defined in:
lib/finitio/inference.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, options = {})
  @system = system
  @options = options
end

Instance Attribute Details

#systemObject (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