Guest User

Untitled

a guest
Apr 25th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. def get_my_args(arg1, another_arg)
  2. local_variables.each do |arg_name|
  3. p "#{arg_name} has value #{eval(arg_name)}"
  4. end
  5. end
Add Comment
Please, Sign In to add comment