Skip to content

Commit ec6a174

Browse files
committed
Update keyword arguments q
1 parent 3e1abb7 commit ec6a174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ A: `undef method_name`, `#remove_method`, `#undef_method`
308308
Q: What is the difference between `#remove_method` and `#undef_method`?
309309
A: `#undef_method` prevents any invocation of the method through an instance of the class, while `#remove_method` will remove the method definition from the class, but not prevent inherited methods of the same name from being invoked.
310310

311-
Q: Explain how Ruby syntax supports object specifiers in parameters lists?
311+
Q: Explain how Ruby syntax supports keyword arguments in parameters lists?
312312
A: You can leave off the curly brackets from a hash in a parameter list, assuming it is the last argument in the list.
313313

314314
Procs and Lambdas

0 commit comments

Comments
 (0)