case input
in { x:, y: }
# do something with x and y
end
This is easy for individual projects to add in their own InputObject superclass, but it seems generally useful, so I figured I'd raise a PR with it. No hard feelings if you don't want it upstream. :slightly_smiling_face:
This allows Ruby's case/in syntax, like:
This is easy for individual projects to add in their own
InputObject
superclass, but it seems generally useful, so I figured I'd raise a PR with it. No hard feelings if you don't want it upstream. :slightly_smiling_face: