Skip to content

Commit e5ed9cc

Browse files
committed
Fix typos
1 parent 794bb0b commit e5ed9cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/contributor/refinements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The `super` lookup [works in two modes](https://bugs.ruby-lang.org/issues/16977)
9696
1. If `super` is called from a method is directly in R, then we should search in `C` ancestors and ignore other active refinements.
9797
2. If `super` is called from a method placed in a module which included to R, then we should search over all active refinements (as we do for a regular lookup).
9898

99-
Additionally, `super` has access to the caller active refinements, so we use `InterlaMethod#activeRefinements` to keep and re-use necessary refinements.
99+
Additionally, `super` has access to the caller active refinements, so we use `InternalMethod#activeRefinements` to keep and re-use necessary refinements.
100100

101101
## References
102102

spec/ruby/core/module/refine_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ def foo
794794
refinement = Module.new do
795795
refine refined_class do
796796
def bar
797-
"you cannot see me from super because I belongs to another active R"
797+
"you cannot see me from super because I belong to another active R"
798798
end
799799
end
800800
end

0 commit comments

Comments
 (0)