Sha256: 1309fcac976bc02380424f6519ecf01fb45f0ce5cc125b207737b485f5aca701
Contents?: true
Size: 458 Bytes
Versions: 10
Compression:
Stored size: 458 Bytes
Contents
module Groonga class BacktraceEntry class << self def parse(entry) match_data = /:(\d+):?/.match(entry) file = match_data.pre_match line = match_data[1].to_i method = match_data.post_match.gsub(/\Ain /, "") new(file, line, method) end end attr_reader :file, :line, :method def initialize(file, line, method) @file = file @line = line @method = method end end end
Version data entries
10 entries across 10 versions & 1 rubygems