Skip to content

Instantly share code, notes, and snippets.

@sanemat
Created May 20, 2014 08:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanemat/87e5cee76db9f0e96e4c to your computer and use it in GitHub Desktop.
Save sanemat/87e5cee76db9f0e96e4c to your computer and use it in GitHub Desktop.
なぜかよくやる
class Foo
def bar(baz: baz, qux: qux)
end
end
# ってよく書いてしまうのなんでなんだろう?
# だいたいより正しい意図としては2.1系ならこう書きたいときに上のように書いてしまう傾向がある
class Foo
def bar(baz:, qux:)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment