Class: Padrino::Utils
- Inherits:
-
Object
- Object
- Padrino::Utils
- Defined in:
- lib/vendored-middleman-deps/padrino-core-0.11.2/lib/padrino-core/support_lite.rb
Class Method Summary collapse
-
.silence_output ⇒ Object
Silences output verbosity level so load errors are not visible when safe_load(file).
- .unsilence_output ⇒ Object
Class Method Details
.silence_output ⇒ Object
Silences output verbosity level so load errors are not visible when safe_load(file)
252 253 254 |
# File 'lib/vendored-middleman-deps/padrino-core-0.11.2/lib/padrino-core/support_lite.rb', line 252 def self.silence_output @verbosity_level, $-v = $-v, nil end |
.unsilence_output ⇒ Object
256 257 258 |
# File 'lib/vendored-middleman-deps/padrino-core-0.11.2/lib/padrino-core/support_lite.rb', line 256 def self.unsilence_output $-v = @verbosity_level end |