Skip to content

Commit c32e084

Browse files
committed
Update nil.step
The method `method` is not what's wanted here. Instead, we want `methods`.
1 parent 69e8ff9 commit c32e084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/en/ruby/nil.step

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ IRB
5555
message "What happened?"
5656
irb "word.class"
5757
message "`word` was set to nil. Let's look at the alphabetized list of methods the Nil class has."
58-
irb "word.method.sort"
58+
irb "word.methods.sort"
5959
message "The error message told us Nil doesn't have a method called upcase."
6060

6161
end

0 commit comments

Comments
 (0)