Module: Minitest::Reporters::ANSI::Code

Extended by:
ANSI::Code, Code
Includes:
ANSI::Code
Included in:
Code, DefaultReporter, ProgressReporter, SpecReporter
Defined in:
lib/minitest/reporters/ansi.rb

Instance Method Summary collapse

Instance Method Details

#black(s = nil)


11
12
13
# File 'lib/minitest/reporters/ansi.rb', line 11

def black(s = nil)
  block_given? ? yield : s
end