Sha256: ead6286a2e1d92a8d29b711e490482abcf5448ce1ba537811154086e031d88e3

Contents?: true

Size: 365 Bytes

Versions: 17

Compression:

Stored size: 365 Bytes

Contents

# encoding: utf-8
module TingYun
  module Frameworks
    class Ruby < TingYun::Frameworks::Framework
      def env
        @env ||= ENV['TINGYUN_ENV'] || ENV['RUBY_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development'
      end

      def root
        @root ||= ENV['APP_ROOT'] || '.'
      end

      def init_config(options={})
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tingyun_rpm-3.2.0 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.6.1 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.5.0 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.4.2 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.4.1 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.3.1 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.3.0 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.2.0 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.4.2 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.4.1 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.4 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.3 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.2 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.1 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.1.0 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.0.7 lib/ting_yun/frameworks/ruby.rb
tingyun_rpm-1.0.6 lib/ting_yun/frameworks/ruby.rb