class TTYGuard
If a spec depends on STDOUT being a tty, use this guard. For specs that may block if run as a background process, see BackgroundGuard.
Public Instance Methods
match?()
click to toggle source
# File lib/mspec/guards/tty.rb, line 7 def match? STDOUT.tty? end