Sha256: cb37c1c64045ec570f81dc3358221ad443a47beda849b00f94cc9829b6a4d60e
Contents?: true
Size: 633 Bytes
Versions: 4
Compression:
Stored size: 633 Bytes
Contents
module PolishGeeks # Allows us to get config, gem_root, app_root and setup module DevTools # This is just an alias so we can use it from DevTools directly # @return [PolishGeeks::DevTools::Config.config] def self.config Config.config end # @return [String] root path of this gem def self.gem_root File.expand_path('../../..', __FILE__) end # @return [String] app root path def self.app_root File.dirname(ENV['BUNDLE_GEMFILE']) end # Sets up the whole configuration # @param [Block] block def self.setup(&block) Config.setup(&block) end end end
Version data entries
4 entries across 4 versions & 1 rubygems