RBS::DefinitionError
# File rbs-2.1.0/lib/rbs/errors.rb, line 367 def initialize(type:, defs:) @type = type @defs = defs super "#{Location.to_string location}: Recursive aliases in #{type}: #{defs.map(&:name).join(", ")}" end
# File rbs-2.1.0/lib/rbs/errors.rb, line 374 def location first_def = defs.first or raise original = first_def.original or raise original.location end
This page was generated for Ruby 3.1.1
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.