Sha256: 55b02aa95c78c146604ff1e6a8117bbe6c1cbf3663035acd4df51fe2b7bb17b4

Contents?: true

Size: 150 Bytes

Versions: 4

Compression:

Stored size: 150 Bytes

Contents

require 'facets/proc/partial'

class Method
  # Convert a method into a new partial Proc.

  def partial(*args)
    to_proc.partial(*args)
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/method/partial.rb
facets-3.1.0 lib/core/facets/method/partial.rb
facets-3.0.0 lib/core/facets/method/partial.rb
facets-2.9.2 work/defunct/core/facets/method/partial.rb