Class: Indexes::Proxy
- Inherits:
-
Object
- Object
- Indexes::Proxy
- Defined in:
- lib/indexes/proxy.rb
Instance Method Summary collapse
-
#initialize(name, options = {}, &block) ⇒ Proxy
constructor
A new instance of Proxy.
Constructor Details
#initialize(name, options = {}, &block) ⇒ Proxy
Returns a new instance of Proxy.
4 5 6 7 8 |
# File 'lib/indexes/proxy.rb', line 4 def initialize(name, ={}, &block) = instance_eval &block Indexes.definitions.add name, end |