Class: Belated::Testing
- Inherits:
-
Object
- Object
- Belated::Testing
- Defined in:
- lib/belated/testing.rb
Overview
Testing helpers Enable or disable testing
Constant Summary collapse
- @@testing =
false
Class Method Summary collapse
Class Method Details
.inline! ⇒ Object
11 12 13 |
# File 'lib/belated/testing.rb', line 11 def self.inline! @@testing = true end |
.inline? ⇒ Boolean
7 8 9 |
# File 'lib/belated/testing.rb', line 7 def self.inline? @@testing == true end |
.test_mode_off! ⇒ Object
15 16 17 |
# File 'lib/belated/testing.rb', line 15 def self.test_mode_off! @@testing = false end |