Ruby Flashcards

0
Q

What ruby convention is used when methods only return Boolean values?

A

To have ‘?’ At the end of the method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

.index method does what

A

Finds position of argument

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly