class Mmtrix::Control::Frameworks::Ruby
A control used when no framework is detected - the default.
Public Instance Methods
env()
click to toggle source
# File lib/mmtrix/control/frameworks/ruby.rb, line 10 def env @env ||= ENV['MM_TRIX_ENV'] || ENV['RUBY_ENV'] || ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development' end
init_config(options={})
click to toggle source
# File lib/mmtrix/control/frameworks/ruby.rb, line 19 def init_config(options={}) end
root()
click to toggle source
# File lib/mmtrix/control/frameworks/ruby.rb, line 15 def root @root ||= ENV['APP_ROOT'] || '.' end