Sha256: 3f50a4a068bd857309f19d8653d1eb1093a05cbcea77005180c327f25bedbcc4

Contents?: true

Size: 145 Bytes

Versions: 3

Compression:

Stored size: 145 Bytes

Contents

module Ting
  module Procable
    def to_proc
      method(:call).to_proc
    end

    def memoize
      MemoizeCall.new(self)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ting-0.12.0 lib/ting/procable.rb
ting-0.11.0 lib/ting/procable.rb
ting-0.10.0 lib/ting/procable.rb