Class: Rubel::Runtime::Loader
- Inherits:
-
Object
- Object
- Rubel::Runtime::Loader
- Defined in:
- lib/rubel/runtime/loader.rb
Overview
Class Method Summary collapse
Class Method Details
.runtime ⇒ Object
19 20 21 22 23 24 25 26 |
# File 'lib/rubel/runtime/loader.rb', line 19 def self.runtime case ENV['RAILS_ENV'] when 'production' then ::Rubel::Runtime::Sandbox when 'test' then ::Rubel::Runtime::Sandbox when 'development' then ::Rubel::Runtime::Console else ::Rubel::Runtime::Console end end |