Module: Kernel

Defined in:
lib/rbs/namespace.rb,
lib/rbs/type_name.rb

Instance Method Summary collapse

Instance Method Details

#Namespace(name) ⇒ Object



121
122
123
124
# File '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

#TypeName(string) ⇒ Object



105
106
107
108
# File '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