Object
# File lib/stackdeck/frame.rb, line 34 def context @context ||= Context::File.new(filename, lineno) if filename end
# File lib/stackdeck/frame.rb, line 37 def context? !filename.nil? end
# File lib/stackdeck/frame.rb, line 43 def language; self.class.name.split('::').last; end
# File lib/stackdeck/frame.rb, line 40 def same_line?(other) other && self.filename == other.filename && self.lineno == other.lineno end
# File lib/stackdeck/frame.rb, line 46 def to_s if filename if function && function != '' "#{filename}:#{lineno}:in `#{function}' [#{language}]" else "#{filename}:#{lineno} [#{language}]" end else if function && function != '' "(#{language}):#{lineno}:in `#{function}'" else "(#{language}):#{lineno}" end end end
Generated with the Darkfish Rdoc Generator 2.