Object
# File rbs-2.1.0/lib/rbs/factory.rb, line 3 def type_name(string) absolute = string.start_with?("::") *path, name = string.delete_prefix("::").split("::").map(&:to_sym) TypeName.new( name: name, namespace: Namespace.new(path: path, absolute: absolute) ) end
This page was generated for Ruby 3.1.2
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.42.0.