Created
April 11, 2015 03:36
-
-
Save Genki-S/f698a688ca4f6ef7c74b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def a_method | |
s = 0 | |
10.times do |x| | |
s += x | |
end | |
s | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment