mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Pass key&value to #each since we use both.
This commit is contained in:
parent
169ee11b04
commit
3c194717c0
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ class Pry
|
|||
defaults[attribute] = Pry.send attribute
|
||||
end
|
||||
|
||||
defaults.merge!(options).each_key do |key|
|
||||
send "#{key}=", defaults[key]
|
||||
defaults.merge!(options).each do |method, argument|
|
||||
send "#{method}=", argument
|
||||
end
|
||||
|
||||
@command_processor = CommandProcessor.new(self)
|
||||
|
|
Loading…
Add table
Reference in a new issue