Sha256: 5148fa60d28a579e74706ebe4468bc370225bd65ac03e6df9044e6535ce5c1ff

Contents?: true

Size: 124 Bytes

Versions: 3

Compression:

Stored size: 124 Bytes

Contents

class Symbol
  def to_proc
    Proc.new do |item|
      item.send(self)
    end
  end unless :test.respond_to?(:to_proc)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
another-0.0.6 lib/core_ext/symbol.rb
another-0.0.3 ./lib/core_ext/symbol.rb
another-0.0.4 lib/core_ext/symbol.rb