Skip to content

Commit

Permalink
[ruby/psych] Remove now-unreachable rescue block
Browse files Browse the repository at this point in the history
  • Loading branch information
amomchilov authored and hsbt committed Dec 25, 2023
1 parent 95e7af0 commit bb16258
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/psych/lib/psych/visitors/yaml_tree.rb
Expand Up @@ -26,8 +26,6 @@ def register target, node

def key? target
@obj_to_node.key? target
rescue NoMethodError
false
end

def id_for target
Expand Down

0 comments on commit bb16258

Please sign in to comment.