Class: ActiveSearch::Proxy
- Inherits:
-
Object
- Object
- ActiveSearch::Proxy
- Includes:
- Enumerable
- Defined in:
- lib/activesearch/proxy.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(text, conditions, &implementation) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(text, conditions, &implementation) ⇒ Proxy
Returns a new instance of Proxy.
7 8 9 10 11 |
# File 'lib/activesearch/proxy.rb', line 7 def initialize(text, conditions, &implementation) @text = text @conditions = conditions @implementation = implementation end |