Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 829 Bytes

File metadata and controls

30 lines (23 loc) · 829 Bytes
lang ID
title Of All the Summaries,
answer \{\}
class stretcher chapmark
load prev
ok You've made an empty hash!
error

Exclamations

Methods may have exclamations (and also question marks) in their name. These are just there to better explain what their function is. No big deal.

String manipulation

Search and change strings

Chaining

Chaining methods lets you get a lot more done. Break up a poem, reverse it, reassemble it: poem.lines.reverse.join

At this point, you may want to tinker with the poem a bit more. A complete list of all the String methods is here.

Go ahead and try a few, such as: poem.downcase or poem.swapcase

Ready?

When you feel ready to move on, type:

books = {}