Sha256: 6b1ab6534538a45bb97fe5996c71155551f175b71f98d29e565123263f6b280a

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

require 'digest'
require 'uri'

require "kf5/version"
require "kf5/configuration"
require "kf5/properties"
require "kf5/helper"

module KF5
  def self.configure(&block)
    yield configuration
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  if defined?(::Rails::Engine)
    class Engine < ::Rails::Engine
      initializer "kf5" do
        ActiveSupport.on_load :action_controller do
          include KF5::Helper
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kf5-0.1.0 lib/kf5.rb