lib/gestalt.rb in gestalt-0.0.7 vs lib/gestalt.rb in gestalt-0.0.8

- old
+ new

@@ -3,11 +3,11 @@ require 'rubygems' require 'formatador' class Gestalt - VERSION = '0.0.7' + VERSION = '0.0.8' attr_accessor :calls def initialize(options = {}) options = { @@ -75,9 +75,10 @@ lambda do |event, file, line, id, binding, classname| case event when *@traceable_calls call = Gestalt::Call.new( :action => "#{classname}##{id}", + :binding => binding, :location => "#{file}:#{line}" ) unless @stack.empty? @stack.last.children.push(call) end