Class: AttnResult

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(proj, cache) ⇒ AttnResult

Returns a new instance of AttnResult.



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

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

Instance Attribute Details

#cacheObject

Returns the value of attribute cache.



487
488
489
# File 'lib/toy/models/transformer.rb', line 487

def cache
  @cache
end

#projObject

Returns the value of attribute proj.



487
488
489
# File 'lib/toy/models/transformer.rb', line 487

def proj
  @proj
end