Class: BlockResult

Inherits:
Object
  • Object
show all
Defined in:
lib/toy/models/transformer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x_out, cache) ⇒ BlockResult

Returns a new instance of BlockResult.



498
# File 'lib/toy/models/transformer.rb', line 498

def initialize(x_out, cache); @x_out = x_out; @cache = cache; end

Instance Attribute Details

#cacheObject

Returns the value of attribute cache.



497
498
499
# File 'lib/toy/models/transformer.rb', line 497

def cache
  @cache
end

#x_outObject

Returns the value of attribute x_out.



497
498
499
# File 'lib/toy/models/transformer.rb', line 497

def x_out
  @x_out
end