Skip to content

Instantly share code, notes, and snippets.

@mkeen
Created June 13, 2015 05:15
Show Gist options
  • Save mkeen/9a5df548f46cda699c86 to your computer and use it in GitHub Desktop.
Save mkeen/9a5df548f46cda699c86 to your computer and use it in GitHub Desktop.
def display_name(name.capitalize)
puts name
end
@mkeen
Copy link
Author

mkeen commented Jun 13, 2015

I think this is an elegant way to enforce standards on arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment