Sha256: 8e5c2d96dffc66b6611cc851ed40fefae4f8a71f37a551ad70bf228970d2ccb5
Contents?: true
Size: 367 Bytes
Versions: 7
Compression:
Stored size: 367 Bytes
Contents
# frozen_string_literal: true module Hanami class Configuration # Hanami application configured Rack middleware # # @since 2.0.0 class Middleware attr_reader :stack def initialize @stack = [] end def use(middleware, *args, &block) stack.push([middleware, *args, block].compact) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems