Sha256: 04938614930cdcbd986ed83f21a677909bf03146047dfab06529f9be8838f561

Contents?: true

Size: 392 Bytes

Versions: 16

Compression:

Stored size: 392 Bytes

Contents

module RubySlippers
  module Engine
    Paths = {
      :templates  => "templates",
      :pages      => "templates/pages",
      :articles   => "articles"
    } unless defined?(Paths)

    def self.gem_root
      File.expand_path("../../", __FILE__)
    end

    def self.env
      ENV['RACK_ENV'] || 'production'
    end

    def self.env= env
      ENV['RACK_ENV'] = env
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
ruby_slippers-0.2.15 lib/ruby_slippers/engine.rb
ruby_slippers-0.2.8 lib/ruby_slippers/engine.rb
ruby_slippers-0.2.4 lib/ruby_slippers/engine.rb
ruby_slippers-0.2.3 lib/ruby_slippers/engine.rb
ruby_slippers-0.2.0 lib/ruby_slippers/engine.rb
ruby-slippers-0.1.43 lib/ruby_slippers/engine.rb
ruby-slippers-0.1.40 lib/ruby_slippers/engine.rb
ruby-slippers-0.1.11 lib/ruby_slippers/engine.rb
ruby-slippers-0.1.7 lib/ruby_slippers/engine.rb
ruby-slippers-0.1.2 lib/ruby_slippers/engine.rb
ruby-slippers-0.1.1 lib/ruby_slippers/engine.rb
ruby-slippers-0.0.26 lib/ruby_slippers/engine.rb
ruby-slippers-0.0.25 lib/ruby_slippers/engine.rb
ruby-slippers-0.0.13 lib/ruby_slippers/engine.rb
ruby-slippers-0.0.5 lib/ruby_slippers/engine.rb
ruby-slippers-0.0.1 lib/ruby_slippers/engine.rb