class TingYun::Frameworks::Ruby
Public Instance Methods
env()
click to toggle source
# File lib/ting_yun/frameworks/ruby.rb, line 5 def env @env ||= ENV['TINGYUN_ENV'] || ENV['RUBY_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' end
init_config(options={})
click to toggle source
# File lib/ting_yun/frameworks/ruby.rb, line 13 def init_config(options={}) end
root()
click to toggle source
# File lib/ting_yun/frameworks/ruby.rb, line 9 def root @root ||= ENV['APP_ROOT'] || '.' end