Sha256: 4584598d8303f4fabec778045655c7644b0a15e18f9ecc3c868910b75e305dfe

Contents?: true

Size: 141 Bytes

Versions: 1

Compression:

Stored size: 141 Bytes

Contents

module Phlex
  module Callable
    def call
      raise NoMethodError
    end

    def to_proc
      method(:call).to_proc
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phlex-0.1.0 lib/phlex/callable.rb