Updated by nobu (Nobuyoshi Nakada) over 7 years ago
```ruby ``` 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