Method: Indy#with
- Defined in:
- lib/indy/indy.rb
#with(params = :default) ⇒ Object
Specify the log format to use as the comparison against each entry within the log file that has been specified.
69 70 71 72 73 74 75 |
# File 'lib/indy/indy.rb', line 69 def with(params=:default) if params.kind_of?(String) && params.match(/^Indy::/) params = params.constantize end @search.source.log_definition = LogDefinition.new(params) self end |