module Command::InputMiddleware

Constants

MIDDLEWARE

Public Class Methods

call(inputs) click to toggle source
# File lib/command/input_middleware.rb, line 10
def self.call(inputs)
  MIDDLEWARE.reduce(inputs) { |memo, middleware| middleware.call(memo) }
end