Sha256: ee4a0b2e037b2c0b9b33c35c90a49229dba7cd2649fe7caade1aec104457eda0

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

# frozen_string_literal: true

require 'snake_eyes/version'
require 'snake_eyes/interface_changes'

module SnakeEyes
  class << self
    attr_accessor :log_snake_eyes_parameters

    def configuration
      yield(SnakeEyes) if block_given?
    end

    alias config configuration
  end

  @log_snake_eyes_parameters = true
end

module ActionController
  class Base
    class << self
      def snake_eyes_params
        include SnakeEyes::InterfaceChanges
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snake-eyes-2.0.0 lib/snake-eyes.rb