Why are all my puts returning =>nil?
问题 I know this may seem like a really simple question, but it really bothers me that my puts keep generating "=> nil" and I scoured for an answer but could not find one. Thanks. puts 'blink ' *4 blink blink blink blink => nil 回答1: Because that is the return value of puts : puts(obj, ...) → nil Writes the given objects to ios as with IO#print. Writes a record separator (typically a newline) after any that do not already end with a newline sequence. If called with an array argument, writes each