Top Level Namespace

Defined Under Namespace

Modules: Grok

Instance Method Summary collapse

Instance Method Details

#configure(*args, &block) ⇒ Object



6
7
8
# File 'lib/grok.rb', line 6

def configure(*args, &block)
  $watcher.configure(*args, &block)
end

#exit(&block) ⇒ Object



14
15
16
# File 'lib/grok.rb', line 14

def exit(&block)
  $watcher.on_exit(&block)
end

#ignore(match) ⇒ Object



22
23
24
# File 'lib/grok.rb', line 22

def ignore(match)
  $watcher.ignore(match)
end

#on(match, opts = {}, &block) ⇒ Object



10
11
12
# File 'lib/grok.rb', line 10

def on(match, opts={}, &block)
  $watcher.on(match, opts, &block)
end

#start(&block) ⇒ Object



18
19
20
# File 'lib/grok.rb', line 18

def start(&block)
  $watcher.on_start(&block)
end