Skip to content

Instantly share code, notes, and snippets.

@radar
Forked from AndrewRayCode/rubocop.rb
Created March 24, 2017 22:44
Show Gist options
  • Save radar/62a1239f44bba53d3efabb7f8d945b99 to your computer and use it in GitHub Desktop.
Save radar/62a1239f44bba53d3efabb7f8d945b99 to your computer and use it in GitHub Desktop.
def if_statement
a
if condition?
c(
1,
2,
3
)
end
end
def guarded
a
c(
1,
2,
3
) if condition?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment