Module: Invokable::Closure Deprecated

Defined in:
lib/invokable/closure.rb

Overview

Deprecated.

These features are included in the module Invokable by default now.

Treat classes as curried functions

Version:

  • 0.5.2

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



8
9
10
11
12
13
# File 'lib/invokable/closure.rb', line 8

def self.included(klass)
  klass.include(Invokable)
  klass.extend(Invokable::Core)
  klass.extend(Invokable::Compose)
  klass.extend(ClassMethods)
end