Module: Zinx::Search
- Defined in:
- lib/zinx.rb
Class Attribute Summary collapse
-
.target ⇒ Object
Returns the value of attribute target.
Class Method Summary collapse
Class Attribute Details
.target ⇒ Object
Returns the value of attribute target.
248 249 250 |
# File 'lib/zinx.rb', line 248 def target @target end |
Class Method Details
.delegate(*methods) ⇒ Object
250 251 252 253 254 255 256 257 |
# File 'lib/zinx.rb', line 250 def delegate(*methods) methods.each do |method| define_method(method) do |*args, &block| Search.target.send(method, *args, &block) end private method end end |