Sha256: f884702353525f96a092d46740231f654e85767459598bc5add1fea58c25567d

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

module Decko
  DECKO_GEM_ROOT = File.expand_path("..", __dir__)

  class << self
    def root
      Rails.root
    end

    def application
      Rails.application
    end

    def config
      application.config
    end

    def paths
      application.paths
    end

    def gem_root
      DECKO_GEM_ROOT
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decko-0.11.7 lib/decko.rb
decko-0.11.6 lib/decko.rb
decko-0.11.5 lib/decko.rb