Updated by ko1 (Koichi Sasada) over 7 years ago
``` def funny(a = true, b: nil) p a end funny([1,2,3]) # => [1,2,3] funny({k:1}) # => in `funny': unknown keyword: k (ArgumentError) ```
Back