Module: Chemlab::Runtime::Env
- Defined in:
- lib/chemlab/runtime/env.rb
Overview
Environment configuration file
Class Method Summary collapse
-
.debug? ⇒ Boolean
True if debug mode is enabled.
Class Method Details
.debug? ⇒ Boolean
Returns true if debug mode is enabled.
12 13 14 |
# File 'lib/chemlab/runtime/env.rb', line 12 def debug? enabled?(ENV['CHEMLAB_DEBUG'], default: false) end |