Sha256: 054458cc2c5467b6ba2553cfb959fc3bed23c491d03caed075b3ddae466a1737

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

module Refinery

  class << self
    attr_accessor :is_a_gem, :root, :s3_backend
    def is_a_gem
      @is_a_gem ||= false
    end

    def root
      @root ||= Pathname.new(File.dirname(__FILE__).split("vendor").first.to_s)
    end

    def s3_backend
      @s3_backend ||= false
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
refinerycms-0.9.6.18 vendor/plugins/refinery/lib/refinery.rb
refinerycms-0.9.6.17 vendor/plugins/refinery/lib/refinery.rb
refinerycms-0.9.6.16 vendor/plugins/refinery/lib/refinery.rb
refinerycms-0.9.6.15 vendor/plugins/refinery/lib/refinery.rb