Class: Arachni::Support::Cache::Preference

Inherits:
Base show all
Defined in:
lib/arachni/support/cache/preference.rb

Overview

Author:

  • Tasos “Zapotek” Laskos <tasos.laskos@arachni-scanner.com>

Instance Attribute Summary

Attributes inherited from Base

#max_size

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