Sha256: b4de1668962e87f5ca0c2ea979ca9cb1600ee9540c45fe5eabd39ecd92f47bda

Contents?: true

Size: 327 Bytes

Versions: 26

Compression:

Stored size: 327 Bytes

Contents

module Wagn
  WAGN_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
      WAGN_GEM_ROOT
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
wagn-1.18.6 lib/wagn.rb
wagn-1.18.5 lib/wagn.rb
wagn-1.18.4 lib/wagn.rb
wagn-1.18.3 lib/wagn.rb
wagn-1.18.2 lib/wagn.rb
wagn-1.18.1 lib/wagn.rb
wagn-1.18.0 lib/wagn.rb
wagn-1.17.4 lib/wagn.rb
wagn-1.17.3 lib/wagn.rb
wagn-1.17.2 lib/wagn.rb
wagn-1.17.1 lib/wagn.rb
wagn-1.17.0 lib/wagn.rb
wagn-1.16.15 lib/wagn.rb
wagn-1.16.14 lib/wagn.rb
wagn-1.16.13 lib/wagn.rb
wagn-1.16.12 lib/wagn.rb
wagn-1.16.11 lib/wagn.rb
wagn-1.16.10 lib/wagn.rb
wagn-1.16.9 lib/wagn.rb
wagn-1.16.8 lib/wagn.rb