Sha256: 984dca0f3b44fc3bdb561f2c8776a12c342c5b25ea8cac65242701b90915c322

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

require_relative 'closure'

module Invokable
  # Treat "Command Objects" as curried functions
  #
  # @version 0.5.0
  #
  # @deprecated These features are included in the {Invokable} module by default now.
  module Command
    def self.included(klass)
      klass.include(Invokable)
      klass.extend(Invokable::Core)
      klass.extend(Invokable::Compose)
      klass.extend(Invokable::Closure::ClassMethods)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
invokable-1.0.0 lib/invokable/command.rb
invokable-0.7.2 lib/invokable/command.rb
invokable-0.7.1 lib/invokable/command.rb
invokable-0.7.0 lib/invokable/command.rb