Sha256: 444648ff8e82e6046f3e74889bfb0615d1eff47130e14d14ce70ff2aef9a948e

Contents?: true

Size: 463 Bytes

Versions: 16

Compression:

Stored size: 463 Bytes

Contents

require 'daddy/utils/config'
require 'daddy/utils/string_utils'
require 'sql_builder'

module Daddy

  def self.config
    if @_config.nil?
      daddy_yml = File.join('config', 'daddy.yml')
      if File.exist?(daddy_yml)
        @_config = Daddy::Utils::Config.new(daddy_yml)
      else
        @_config = Daddy::Utils::Config.new
      end
    end

    @_config
  end

end

if defined?(Rails)
  require 'daddy/rails/engine'
  require 'daddy/rails/railtie'
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
daddy-0.9.13 lib/daddy.rb
daddy-0.9.12 lib/daddy.rb
daddy-0.9.11 lib/daddy.rb
daddy-0.9.10 lib/daddy.rb
daddy-0.9.9 lib/daddy.rb
daddy-0.9.8 lib/daddy.rb
daddy-0.9.7 lib/daddy.rb
daddy-0.9.6 lib/daddy.rb
daddy-0.9.5 lib/daddy.rb
daddy-0.9.4 lib/daddy.rb
daddy-0.9.3 lib/daddy.rb
daddy-0.9.2 lib/daddy.rb
daddy-0.9.1 lib/daddy.rb
daddy-0.9.0 lib/daddy.rb
daddy-0.8.1 lib/daddy.rb
daddy-0.8.0 lib/daddy.rb