Module: SugoiPrettyJSON

Defined in:
lib/sugoi_pretty_json.rb,
lib/sugoi_pretty_json/version.rb,
lib/sugoi_pretty_json/sugoi_json.rb

Defined Under Namespace

Classes: HashPaser, ParsedMember, Parser, SugoiJSON

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.parse(log, options = {}) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/sugoi_pretty_json.rb', line 8

def self.parse(log, options = {})
  parser = Parser.new(log, options)
  if block_given?
    yield(parser)
  end
  parser.parse
end