Skip to content

Commit f2bfddd

Browse files
committed
Revert unnecessary coding style change in find_constant_named
1 parent 20b3cd1 commit f2bfddd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/rdoc/code_object/context.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,9 @@ def find_class_method_named(name)
779779
# Finds a constant with +name+ in this context
780780

781781
def find_constant_named(name)
782-
@constants.find { |m| m.name == name || m.full_name == name }
782+
@constants.find do |m|
783+
m.name == name || m.full_name == name
784+
end
783785
end
784786

785787
##

0 commit comments

Comments
 (0)