core/method.rbs in rbs-3.0.0.dev.2 vs core/method.rbs in rbs-3.0.0.dev.3
- old
+ new
@@ -254,33 +254,9 @@
#
def parameters: () -> ::Array[[ :req | :opt | :rest | :keyreq | :key | :keyrest | :block, Symbol ] | [ :rest | :keyrest ]]
# <!--
# rdoc-file=proc.c
- # - meth.private? -> true or false
- # -->
- # Returns whether the method is private.
- #
- def private?: () -> bool
-
- # <!--
- # rdoc-file=proc.c
- # - meth.protected? -> true or false
- # -->
- # Returns whether the method is protected.
- #
- def protected?: () -> bool
-
- # <!--
- # rdoc-file=proc.c
- # - meth.public? -> true or false
- # -->
- # Returns whether the method is public.
- #
- def public?: () -> bool
-
- # <!--
- # rdoc-file=proc.c
# - meth.receiver -> object
# -->
# Returns the bound receiver of the method object.
#
# (1..3).method(:map).receiver # => 1..3