Sha256: 9cbd09a5fcb6c528a27f74c9bbe4ade38535d7ce7468549e6e9c7a9ae37a0398

Contents?: true

Size: 230 Bytes

Versions: 21

Compression:

Stored size: 230 Bytes

Contents

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

  class << self
    delegate :application, :root, to: :Rails
    delegate :config, :paths, to: :application

    def gem_root
      DECKO_GEM_ROOT
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
decko-0.12.0 lib/decko.rb