Sha256: 6c7028c15eb4a4d65053818aa0d1032730b7f5ff4798f8e69203773e9ba08a4d

Contents?: true

Size: 197 Bytes

Versions: 5

Compression:

Stored size: 197 Bytes

Contents

# -*- encoding : utf-8 -*-
module LambdaDriver::Curring
  def curry(arity = nil)
    self.to_proc.curry(arity)
  end

  def self.included(klass)
    klass.send(:alias_method, :%, :curry)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lambda_driver-1.3.0 lib/lambda_driver/currring.rb
lambda_driver-1.2.4 lib/lambda_driver/currring.rb
lambda_driver-1.2.3 lib/lambda_driver/currring.rb
lambda_driver-1.2.2 lib/lambda_driver/currring.rb
lambda_driver-1.2.1 lib/lambda_driver/currring.rb