lib/steep/services/hover_content.rb in steep-0.45.0 vs lib/steep/services/hover_content.rb in steep-0.46.0

- old
+ new

@@ -126,11 +126,11 @@ VariableContent.new(node: node, name: var_name, type: type, location: node.location.name) when :send receiver, method_name, *_ = node.children - - result_node = if parents[0]&.type == :block + result_node = case parents[0]&.type + when :block, :numblock parents[0] else node end