Skip to content

Instantly share code, notes, and snippets.

@tomomura
Last active August 29, 2015 14:15
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 tomomura/962e2f74548fd36772ab to your computer and use it in GitHub Desktop.
Save tomomura/962e2f74548fd36772ab to your computer and use it in GitHub Desktop.
RuboComp example
def this_name
if any
'this is name'
end
'this is another name'
end
def this_name # use snake case
'this is name' if any # or any && 'this is name'
'this is another name'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment