Google

# File test/unit/util/procwrapper.rb, line 23

                                def initialize(a_proc)

                                        @a_proc = a_proc

                                        @hash = a_proc.inspect.sub(/^(#<#{a_proc.class}:)/){''}.sub(/(>)$/){''}.hex

                                end