Sha256: d55baaabe6577f1beb752e60a17d7b7f0ac95a6059194aafb89848be8f517323

Contents?: true

Size: 687 Bytes

Versions: 1

Compression:

Stored size: 687 Bytes

Contents

# frozen_string_literal: true

require_relative 'active_support/class_attribute'
require_relative 'active_support/concern'
require_relative 'active_support/delegation'
require_relative 'active_support/mattr_accessor'
require_relative 'active_support/time_with_zone'
require_relative 'active_support/known_sig'

module Orthoses
  module ActiveSupport
    # Interface for adding middleware in bulk.
    #     Orthoses::ActiveSupport.each do |middleware, **args|
    #       use middleware, **args
    #     end
    def self.each
      yield ClassAttribute
      yield Concern
      yield Delegation
      yield MattrAccessor
      yield TimeWithZone
      yield KnownSig
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
orthoses-rails-0.3.0 lib/orthoses/active_support.rb