Sha256: 626e3ad2486edf271f8de77e1e355aa8bca06660cf36acb7e99ba045fdee4f3b

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

require "Grok"

# extend Grok to add simpler access to the discover feature.
class Grok
  def discover(input)
    init_discover if @discover == nil

    return @discover.discover(input)
  end

  def init_discover
    @discover = GrokDiscover.new(self)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jls-grok-0.1.2840 lib/grok.rb
jls-grok-0.1.2824 lib/grok.rb
jls-grok-0.1.2823 lib/grok.rb
jls-grok-0.1.2821 lib/grok.rb