Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why did the second toast change to honeydew? #167

Open
rcpao opened this issue Nov 23, 2013 · 1 comment
Open

Why did the second toast change to honeydew? #167

rcpao opened this issue Nov 23, 2013 · 1 comment

Comments

@rcpao
Copy link

rcpao commented Nov 23, 2013

To get to the other side?

poem.lines­.to_a.reve­rse
=> ["More still did I want to eat it.
", "Planting our flag on Halley's comet,
", "But when I saw it on television,
", "And my toast has gone to the moon.
", "My honeydew has flown from my hand
"]
Success!
Notice there is honeydew and toast above.

print poem.­lines.to_a­.reverse.j­oin
More still did I want to eat it.
Planting our flag on Halley's comet,
But when I saw it on television,
And my honeydew has gone to the moon.
My honeydew has flown from my hand
Success!
Notice there are now two honeydew and no toast.

@Sophrinix
Copy link
Owner

or maybe... just maybe the giraffe that stole mount hood also quietly stole the toast too... :-)

(i'll come back to the real reason for this soon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants