class RBS::Types::Bases::Any
Public Class Methods
(location: Location[bot, bot]?, ?todo: bool) → void
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/types.rb, line 110 def initialize(location:, todo: false) super(location: location) if todo @string = "__todo__" end end
Calls superclass method
RBS::Types::Bases::Base::new
Public Instance Methods
Source
# File vendor/bundle/ruby/4.0.0/gems/rbs-4.0.3/lib/rbs/types.rb, line 117 def to_s(level=0) @string || "untyped" end