Sha256: 4861549731de7c5b0cd8e8d39c3032b48141c1e7a4d82e27781f4cd02c682246

Contents?: true

Size: 241 Bytes

Versions: 4

Compression:

Stored size: 241 Bytes

Contents

module Turf; class Default

  def env
    raise "The RAILS_ENV environment variable must be set" unless ENV['RAILS_ENV']
    ENV['RAILS_ENV']
  end

  def root
    @root ||= File.expand_path("../../", File.dirname(__FILE__))
  end

end; end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
turf-1.3.0 templates/default.rb
turf-1.2.0 templates/default.rb
turf-1.1.0 templates/default.rb
turf-1.0.0 templates/default.rb