Sha256: 9043807521cd37e686874ba78e65e829ec85dc44272fdf73ca14be93aa3e7c2d

Contents?: true

Size: 95 Bytes

Versions: 7

Compression:

Stored size: 95 Bytes

Contents

class Symbol
  def to_proc
    Proc.new { |*args| args.shift.__send__(self, *args) }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
yac-1.4.6 lib/symbol.rb
yac-1.4.5 lib/symbol.rb
yac-1.4.2 lib/symbol.rb
yac-1.4.1 lib/symbol.rb
yac-1.4.4 lib/symbol.rb
yac-1.4.3 lib/symbol.rb
yac-1.4.0 lib/symbol.rb