Method: Logcli::Actions::Grep#initialize

Defined in:
lib/logcli/actions/grep.rb

#initialize(opts) ⇒ Grep

Returns a new instance of Grep.



8
9
10
11
# File 'lib/logcli/actions/grep.rb', line 8

def initialize opts
  @grep = opts.fetch(:grep)
  @path = opts.fetch(:path)
end