Sha256: 0e6a1d55b407dfc397a32f001bfee4dcd56a575207d0e300ac2b72c8caf819cd

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

require "reparty/version"

require "reparty/config"
require "reparty/report"
require "reparty/report/active_record"
require "reparty/email"

require "reparty/engine"
require "reparty/railties"

module Reparty
  class << self
    def root
      Pathname.new(File.expand_path('../..', __FILE__))
    end

    attr_accessor :configuration
    attr_reader :reports

    def config
      self.configuration = Config.new

      yield(configuration)

      @reports = self.configuration.reports
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reparty-0.1.0 lib/reparty.rb