Class: NanDoc::SpecDoc::TestFramework::Proxy
- Inherits:
-
Object
- Object
- NanDoc::SpecDoc::TestFramework::Proxy
- Defined in:
- lib/nandoc/spec-doc/test-framework/proxy.rb
Direct Known Subclasses
Class Attribute Summary collapse
-
.sexp_cache ⇒ Object
readonly
Returns the value of attribute sexp_cache.
Instance Method Summary collapse
Class Attribute Details
.sexp_cache ⇒ Object (readonly)
Returns the value of attribute sexp_cache.
8 9 10 |
# File 'lib/nandoc/spec-doc/test-framework/proxy.rb', line 8 def sexp_cache @sexp_cache end |
Instance Method Details
#sexp_get(testfile, testname) ⇒ Object
42 43 44 45 46 |
# File 'lib/nandoc/spec-doc/test-framework/proxy.rb', line 42 def sexp_get testfile, testname Proxy.sexp_cache[testfile][testname] ||= begin sexp_build testfile, testname end end |