Sha256: b83b50812e7756f22d9ff38502aa6db5471361073d3cceb85958d385ef5251af

Contents?: true

Size: 116 Bytes

Versions: 43

Compression:

Stored size: 116 Bytes

Contents

# Symbol monkey patch.

class Symbol
    def to_proc
        proc { |obj, *args| obj.send(self, *args) }
    end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
spiderfw-0.6.23 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.22 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.21 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.20 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.19 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.18 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.17 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.16 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.15 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.14 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.13 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.12 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.11 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.10 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.9 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.8 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.7 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.6 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.5 lib/spiderfw/utils/monkey/symbol.rb
spiderfw-0.6.4 lib/spiderfw/utils/monkey/symbol.rb