Sha256: d824c89a42fabea6d71af865a879e39d7edadb7b368649364fbca14098d73dcb

Contents?: true

Size: 98 Bytes

Versions: 1

Compression:

Stored size: 98 Bytes

Contents

class Symbol #:nodoc:
  def to_proc
    Proc.new { |obj, *args| obj.send(self, *args) }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
activesupport-1.3.0 lib/active_support/core_ext/symbol.rb