vendor/gems/BlueCloth-1.0.0/utils.rb
### Execute a block with $VERBOSE set to +false+, restoring it to its
### previous value before returning.
Execute a block with $VERBOSE set to +false+, restoring it to its
previous value before returning.
Execute a block with $VERBOSE set to + false + restoring it to its previous value before returning .
def verboseOff
		raise LocalJumpError, "No block given" unless block_given?
		thrcrit = Thread.critical
		oldverbose = $VERBOSE
		begin
			Thread.critical = true
			$VERBOSE = false
			yield
		ensure
			$VERBOSE = oldverbose
			Thread.critical = false
		end
	end
def verboseOff raise LocalJumpError , "No block given" unless block_given? thrcrit = Thread . critical oldverbose = $VERBOSE begin Thread . critical = true $VERBOSE = false yield ensure $VERBOSE = oldverbose Thread . critical = false end end
Execute a block with $VERBOSE set to +false+, restoring it to its
previous value before returning.
Execute a block with $VERBOSE set to + false + restoring it to its previous value before returning .