模块 Kernel

公共实例方法

命名空间(name) 点击切换源代码
# File rbs-3.8.0/lib/rbs/namespace.rb, line 121
def Namespace(name)
  warn "Kernel#Namespace() is deprecated. Use RBS::Namespace.parse instead.", category: :deprecated
  RBS::Namespace.parse(name)
end
类型名称(string) 点击切换源代码
# File rbs-3.8.0/lib/rbs/type_name.rb, line 105
def TypeName(string)
  warn "Kernel#TypeName() is deprecated. Use RBS::TypeName.parse instead.", category: :deprecated
  RBS::TypeName.parse(string)
end