-
-
Save harrisi/600f792d4dde3dffb4129b5cefca0656 to your computer and use it in GitHub Desktop.
This file contains 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
foo = [4, 5, 6] | |
foo.each_with_index do | |
|info, index| | |
puts <<ENDDOC | |
\tIDX: #{index + 1}: #{case info.succ | |
when 6 | |
"six" | |
else | |
info.succ | |
end | |
} | |
ENDDOC | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment