Class: Arachni::Support::Cache::Preference
- Defined in:
- lib/arachni/support/cache/preference.rb
Overview
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#==, #[], #[]=, #any?, #capped?, #clear, #delete, #dup, #empty?, #fetch, #hash, #include?, #initialize, #size, #store, #uncap, #uncapped?
Constructor Details
This class inherits a constructor from Arachni::Support::Cache::Base
Instance Method Details
#prefer(&block) ⇒ Object
15 16 17 |
# File 'lib/arachni/support/cache/preference.rb', line 15 def prefer( &block ) @preference = block end |