Sha256: c4cd723bb2eafb4e2f14982f3b591cca35bf9231d6ff4f162d0996fff4aa2edd

Contents?: true

Size: 137 Bytes

Versions: 2

Compression:

Stored size: 137 Bytes

Contents

# encoding: utf-8

unless (:a.respond_to?(:to_proc))
 class Symbol
   def to_proc
      proc {|stuff| stuff.send(self)}
   end
 end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-prof-0.11.0.rc1-x86-mingw32 lib/ruby-prof/symbol_to_proc.rb
ruby-prof-0.11.0.rc1 lib/ruby-prof/symbol_to_proc.rb