core/refinement.rbs in rbs-3.4.0 vs core/refinement.rbs in rbs-3.4.1
- old
+ new
@@ -44,17 +44,26 @@
# <!--
# rdoc-file=eval.c
# - refined_class -> class
# -->
+ # Deprecated; prefer #target.
+ #
# Return the class refined by the receiver.
#
def refined_class: () -> Module
# <!--
# rdoc-file=eval.c
- # - target -> class
+ # - target -> class_or_module
# -->
# Return the class or module refined by the receiver.
+ #
+ # module M
+ # refine String do
+ # end
+ # end
+ #
+ # M.refinements[0].target # => String
#
def target: () -> Module
end