Sha256: 714fdc650fe7bd7be76bce249f8946d91bdc0cccf9069431d598e3b03100a5ed
Contents?: true
Size: 421 Bytes
Versions: 1
Compression:
Stored size: 421 Bytes
Contents
require_relative 'closure' module Invokable # Treat "Command Objects" as curried functions # # @see https://ruby-doc.org/core-2.7.0/Proc.html#method-i-curry Proc#curry # # @version 0.5.0 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
invokable-0.5.2 | lib/invokable/command.rb |