Sha256: 794eb89dffb21324b886ed92e9a45b04f2490e944d0c2d038fe566b8b318158d
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
# Require the eval_debugger to get an insight into the methods that aggregations and associations macross are adding. # All the additions are reported to $stderr just by requiring this file. class Module alias :old_module_eval :module_eval def module_eval(*args, &block) puts("in #{self.name}, #{if args[1] then "file #{args[1]}" end} #{if args[2] then "on line #{args[2]}" end}:\n#{args[0]}") if args[0] old_module_eval(*args, &block) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-1.0.0 | dev-utils/eval_debugger.rb |