StackDeck::Frame
# File lib/stackdeck/frame.rb, line 68 def self.extract(backtrace) backtrace.map {|s| StackDeck::Frame::Ruby.parse(s) } end
# File lib/stackdeck/frame.rb, line 63 def self.parse(str) if str =~ /(.*?):(\d+)(:in `(.*)')?/ new($4, $1, $2.to_i) end end
# File lib/stackdeck/frame.rb, line 72 def boundary? filename == __FILE__ && function == 'boundary' end
# File lib/stackdeck/frame.rb, line 75 def to_s if function && function != '' "#{filename}:#{lineno}:in `#{function}'" else "#{filename}:#{lineno}" end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.