Sha256: 80bc9088a335068ac7b63867cd5ed56270fa933de66063142fee081240cf3f8f

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

require "elixirize/version"

module Elixirize
  ::Object.class_eval do

    def ᐅ other, *args, &block
      other.call(self, *args, &block)
    end

    alias_method :λ, :lambda
  end

  ::Symbol.class_eval do
    alias_method :~, :to_proc
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elixirize-0.5.0 lib/elixirize.rb