lib/grok.rb in jls-grok-0.1.2840 vs lib/grok.rb in jls-grok-0.1.3068

- old
+ new

@@ -1,14 +1,17 @@ require "Grok" +require "grok/pile" # extend Grok to add simpler access to the discover feature. class Grok + public def discover(input) init_discover if @discover == nil return @discover.discover(input) end + private def init_discover @discover = GrokDiscover.new(self) end end