Method: Dropbox::Memoization#enable_memoization
- Defined in:
- lib/dropbox/memoization.rb
#enable_memoization ⇒ Object
Begins memoizing the results of API calls. Memoization is off by default for new instances.
68 69 70 71 |
# File 'lib/dropbox/memoization.rb', line 68 def enable_memoization @_memoize = true @_memo_identifiers ||= Set.new end |