Module: DrgDSL::Visitor::ClassMethods
- Defined in:
- lib/drgdsl/visitor.rb
Instance Method Summary collapse
-
#cache ⇒ Hash
In-memory Ruby Hash.
- #clear_cache! ⇒ Object
Instance Method Details
#cache ⇒ Hash
Returns in-memory Ruby Hash.
23 24 25 |
# File 'lib/drgdsl/visitor.rb', line 23 def cache @cache ||= {} end |
#clear_cache! ⇒ Object
27 28 29 |
# File 'lib/drgdsl/visitor.rb', line 27 def clear_cache! @cache = {} end |