diff options
author | robert <robert@jazzonmymind.xyz> | 2018-11-20 10:46:08 +0100 |
---|---|---|
committer | robert <robert@jazzonmymind.xyz> | 2018-11-20 10:48:22 +0100 |
commit | 4b8e9c82789258a2cf36cd6c5de722cabbdc93cb (patch) | |
tree | ab3772ffab5dc8c599a1286d89b000874579ff07 /lib/pry.rb | |
parent | 802e9fd3fe9894f745160d4dc64737aebf101018 (diff) | |
download | pry-4b8e9c82789258a2cf36cd6c5de722cabbdc93cb.tar.gz |
update from_hash calls to not pass an explicit 'nil' as a second argument.
The default for the optional second argument is already 'nil', so we don't
have to explicitly pass nil as a second argument.
Diffstat (limited to 'lib/pry.rb')
-rw-r--r-- | lib/pry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ class Pry else # Otherwise, saves current binding stack as old stack and pops last # binding out of binding stack (the old stack still has that binding). - _pry_.command_state["cd"] ||= Pry::Config.from_hash({}) # FIXME + _pry_.command_state["cd"] ||= Pry::Config.from_hash({}) _pry_.command_state['cd'].old_stack = _pry_.binding_stack.dup _pry_.binding_stack.pop end |