class RBS::DuplicatedDeclarationError
属性
decls[R]
name[R]
公共类方法
new(name, *decls) 点击切换源代码
调用父类方法
# File rbs-3.8.0/lib/rbs/errors.rb, line 398 def initialize(name, *decls) @name = name @decls = decls last_decl = decls.last or raise super "#{Location.to_string last_decl.location}: Duplicated declaration: #{name}" end