class RBS::NoMixinFoundError
属性
member[R]
type_name[R]
公共类方法
check!(type_name, env:, member:) 点击切换源代码
# File rbs-3.8.0/lib/rbs/errors.rb, line 246 def self.check!(type_name, env:, member:) (env.module_name?(type_name) || env.interface_name?(type_name)) or raise new(type_name: type_name, member: member) end
new(type_name:, member:) 点击切换源代码
调用父类方法
# File rbs-3.8.0/lib/rbs/errors.rb, line 235 def initialize(type_name:, member:) @type_name = type_name @member = member super "#{Location.to_string location}: Could not find mixin: #{type_name}" end
公共实例方法
location() 点击切换源代码
# File rbs-3.8.0/lib/rbs/errors.rb, line 242 def location member.location end