spec icon indicating copy to clipboard operation
spec copied to clipboard

Add specs using keywords as implicit Hash values

Open amomchilov opened this issue 1 year ago • 0 comments

This documents behaviour like:

def do_something(if:)
  # Behaves like `binding.local_variable_get(:if)`, but faster.
  condition = { if: }[:if]
end

amomchilov avatar Jul 30 '24 23:07 amomchilov