Sha256: 3e6a30c0e4b658d9b849f52130a6d90d9f2e84e6da2b42ba1b29f210c487fef4

Contents?: true

Size: 472 Bytes

Versions: 9

Compression:

Stored size: 472 Bytes

Contents

require "snake-eyes/version"
require "snake-eyes/interface_changes"

module SnakeEyes
  class << self
    attr_accessor :log_snake_eyes_parameters

    def configuration
      if block_given?
        yield(SnakeEyes)
      end
    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

9 entries across 9 versions & 1 rubygems

Version Path
snake-eyes-1.0.0 lib/snake-eyes.rb
snake-eyes-0.1.0 lib/snake-eyes.rb
snake-eyes-0.0.8 lib/snake-eyes.rb
snake-eyes-0.0.7 lib/snake-eyes.rb
snake-eyes-0.0.6 lib/snake-eyes.rb
snake-eyes-0.0.5 lib/snake-eyes.rb
snake-eyes-0.0.4 lib/snake-eyes.rb
snake-eyes-0.0.3 lib/snake-eyes.rb
snake-eyes-0.0.2 lib/snake-eyes.rb