Chapter Recap
What was new in this chapter?
Making new predicates for explicit Boolean casting
Method aliases
Superclasses
Metaprogramming
The Symbol class
Arrays and the
join
methodThe
protected
level of access controlThe
dup
andpop
methodsMaking command-line interface flags
Library files for reusable code
Class constants
The Hash class
Hash keys and values
The
here doc
declarationNewline characters within Strings
Using
Array.include?
to test for membershipThe
any?
predicateThe
Hash.keys
methodA bit on Ruby1.8 vs. Ruby1.6 and the
any?
predicatePalindromes and reversing Strings
Extracting the letters from Strings
Changing the case of Strings
That’s even more than the last chapter, which was hardly holding your hand. Congratulations again. Let’s move on to some ...
Get Ruby by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.