Class: TestOddbApp::StubAtcClassFactory

Inherits:
Object
  • Object
show all
Defined in:
test/test_util/oddbapp.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) atc(code)



95
96
97
98
99
# File 'test/test_util/oddbapp.rb', line 95

def atc(code)
  (@atc ||= {}).fetch(code) {
    @atc.store(code, StubAtcClass.new(code))
  }
end