Sha256: ed0d6f5e1860bc234e66f85f15919d133fedafc96fd2277ff4e04afc34709564

Contents?: true

Size: 562 Bytes

Versions: 2

Compression:

Stored size: 562 Bytes

Contents

require 'mixpal/version'
require 'active_support'
require 'active_support/core_ext'

module Mixpal
  autoload :Util, 'mixpal/util'
  autoload :Tracker, 'mixpal/tracker'
  autoload :Event, 'mixpal/event'
  autoload :User, 'mixpal/user'
  autoload :Integration, 'mixpal/integration'

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

    def configure
      yield(configuration)
    end
  end

  class Configuration
    attr_writer :helper_module

    def helper_module
      @helper_module ||= Module.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mixpal-0.2.1 lib/mixpal.rb
mixpal-0.2.0 lib/mixpal.rb