[ruby/psych] Remove now-unreachable rescue block
https://github.com/ruby/psych/commit/6905a2123c
This commit is contained in:
parent
95e7af0c59
commit
bb1625858f
@ -26,8 +26,6 @@ module Psych
|
|||||||
|
|
||||||
def key? target
|
def key? target
|
||||||
@obj_to_node.key? target
|
@obj_to_node.key? target
|
||||||
rescue NoMethodError
|
|
||||||
false
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def id_for target
|
def id_for target
|
||||||
|
Loading…
x
Reference in New Issue
Block a user