Sha256: 3ffc3d7a0133c60ce93e86ed77c95fb28a60052c7ed67bb3bc82bd85482021a4

Contents?: true

Size: 330 Bytes

Versions: 5

Compression:

Stored size: 330 Bytes

Contents

module Decko
  DECKO_GEM_ROOT = File.expand_path("../..", __FILE__)

  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

5 entries across 5 versions & 1 rubygems

Version Path
decko-0.11.4 lib/decko.rb
decko-0.11.3 lib/decko.rb
decko-0.11.2 lib/decko.rb
decko-0.11.1 lib/decko.rb
decko-0.11.0 lib/decko.rb