check!(type_name, env:, location:)click to toggle source
# File rbs-1.4.0/lib/rbs/errors.rb, line 121defself.check!(type_name, env:, location:)
env.class_decls.key?(type_name) orraisenew(type_name:type_name, location:location)
end
new(type_name:, location:)click to toggle source
# File rbs-1.4.0/lib/rbs/errors.rb, line 114definitialize(type_name:, location:)
@type_name = type_name@location = locationsuper"#{Location.to_string location}: Could not find super class: #{type_name}"end
This page was generated for Ruby 3.0.4
Generated with Ruby-doc Rdoc Generator 0.42.0.
There is an updated format of the API docs for this version here.