We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 211fb55 commit 2962aacCopy full SHA for 2962aac
README.md
@@ -176,23 +176,7 @@ $ bin/spring stop
176
Spring stopped.
177
```
178
179
-From within your code, you can check whether Spring is active by checking whether the
180
-`Spring` constant is defined:
181
-
182
-```ruby
183
-# With Spring running
184
-defined?(Spring)
185
-# => "constant"
186
187
-# With Spring disabled
188
189
-# => nil
190
191
-# Since a string is truthy and `nil` is falsy, we can use this as our condition
192
-if defined?(Spring)
193
- # Do something
194
-end
195
-```
+From within your code, you can check whether Spring is active with `if defined?(Spring)`.
196
197
### Removal
198
0 commit comments