stdlib/builtin/symbol.rbs in rbs-0.3.1 vs stdlib/builtin/symbol.rbs in rbs-0.4.0
- old
+ new
@@ -150,10 +150,10 @@
def inspect: () -> String
# In general, `to_sym` returns the Symbol corresponding to an object. As *sym*
# is already a symbol, `self` is returned in this case.
#
- def intern: () -> self
+ def intern: () -> Symbol
# Same as `sym.to_s.length`.
#
def length: () -> Integer