Sha256: b05a0e3ec069f5981bb49acae2f2251e5f092d9656c9ae13ff782ec1aadc3e41

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

module Grumlin
  module Middlewares
    class FrozenBuilder < ::Middleware::Builder
      def initialize(opts = nil, &block)
        super(opts, &block)
        freeze
      end

      def freeze
        super

        stack.freeze
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grumlin-0.23.0 lib/grumlin/middlewares/frozen_builder.rb