Created
March 1, 2016 14:14
-
-
Save jlecour/5d1bad625a7b15b7afff to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def my_method(arg1:, arg2:) | |
# how to get the keys/values or arguments, when they also exist as a method? | |
# instance_variable_get("…"), and instance_variable_names are for instance variables | |
end | |
# concrete example : | |
def go_to(step:, options: []) | |
# when using Pry, the step variable is shadowed by the debugger `step` method | |
end |
jjaffeux
commented
Mar 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment