Module: Kind::Functional::Action

Defined in:
lib/kind/functional/action.rb

Class Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



80
81
82
83
# File 'lib/kind/functional/action.rb', line 80

def self.extended(base)
  base.send(:extend, Kind.of_module(base))
  base.send(:extend, Macros)
end

.included(base) ⇒ Object



74
75
76
77
78
# File 'lib/kind/functional/action.rb', line 74

def self.included(base)
  Kind.of_class(base).send(:extend, Functional::DependencyInjection)

  base.send(:extend, Macros)
end