module FunWith::Testing::VerbosityMethods::ClassMethods
Public Instance Methods
set_verbose( mode = true )
click to toggle source
# File lib/fun_with/testing/verbosity_methods.rb, line 11 def set_verbose( mode = true ) self.const_set( :FWT_TEST_VERBOSITY, mode ) end
verbose?()
click to toggle source
# File lib/fun_with/testing/verbosity_methods.rb, line 15 def verbose? return self::FWT_TEST_VERBOSITY if self.constants.include?( :FWT_TEST_VERBOSITY ) return self.superclass.verbose? if self.superclass.respond_to?(:verbose) return false end