Ruby Cheatsheet Looping .times: execute block x number of times - Ex: 5.times { puts "executed" } If execute if true statements can be added to the end of a line: puts "true" if true Arrays Initialize with size and block: Array.new(2) { 2 * 2 } = [4, 4]