Skip to content

Instantly share code, notes, and snippets.

@pr0ton
Created September 14, 2012 23:51
Show Gist options
  • Save pr0ton/071098850a903473e7d9 to your computer and use it in GitHub Desktop.
Save pr0ton/071098850a903473e7d9 to your computer and use it in GitHub Desktop.
def print_changes(changes)
if not changes:
return
end
puts changes.length
end
print_changes([1,2,3,4])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment