# File lib/stackdeck/frame.rb, line 85 def self.parse(str) if str =~ /^(.*)@(.*?):(\d+|\?)$/ function = $1 filename = $2 lineno = $3.to_i return if filename == '' && function =~ /^(apply|call)\(/ return if filename == '' && function == '' && lineno == 0 return if function =~ /^__hidden(_[A-Za-z0-9_]*)?\(/ filename = filename.squeeze('/') function.sub!(/\(.*/, '') new(function, filename, lineno) end end
Generated with the Darkfish Rdoc Generator 2.