Ruby Flashcards
0
Q
What ruby convention is used when methods only return Boolean values?
A
To have ‘?’ At the end of the method
1
Q
.index method does what
A
Finds position of argument
2
Q
What’s a regular expression (RegEx)?
A
Means for matching words or patterns of characters
Specify RegEx by putting it in forward slashes.