Sha256: 456bc33252d0065456833e2b9d16e4470c5c4b27fceb3d1a166a53f47115a612

Contents?: true

Size: 316 Bytes

Versions: 10

Compression:

Stored size: 316 Bytes

Contents

require 'pathname'

require File.expand_path('../refinerycms', __FILE__)

# Construct the ability to call Refinery.root
# Must come after requiring 'refinerycms'
module Refinery
  class << self
    attr_accessor :root
    def root
      @root ||= Pathname.new(File.expand_path('../../', __FILE__))
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
refinerycms-0.9.9.10 lib/refinery.rb
refinerycms-0.9.9.9 lib/refinery.rb
refinerycms-0.9.9.8 lib/refinery.rb
refinerycms-0.9.9.7 lib/refinery.rb
refinerycms-0.9.9.6 lib/refinery.rb
refinerycms-0.9.9.5 lib/refinery.rb
refinerycms-0.9.9.4 lib/refinery.rb
refinerycms-0.9.9.3 lib/refinery.rb
refinerycms-0.9.9.2 lib/refinery.rb
refinerycms-0.9.9.1 lib/refinery.rb