Created
November 26, 2014 15:00
-
-
Save zmoazeni/a1403f2fa9320156d9bb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
should_i_do_it = false | |
def foo(bar:, do_it: true) | |
puts "bar: [#{bar}] do_it: [#{do_it}]" | |
end | |
foo(:bar => 'this be bar', :do_it => should_i_do_it) | |
foo(bar: 'this be bar', do_it: should_i_do_it) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment