class Solargraph::Pin::ProxyType
def self.anonymous return_type
-
(ProxyType)
-
Parameters:
-
return_type
(ComplexType
) --
def self.anonymous return_type parts = return_type.namespace.split('::') namespace = parts[0..-2].join('::').to_s # name = parts.last.to_s # ProxyType.new(nil, namespace, name, return_type) ProxyType.new( closure: Solargraph::Pin::Namespace.new(name: namespace), return_type: return_type ) end
def context
def context @return_type end
def initialize return_type: ComplexType::UNDEFINED, **splat
-
return_type
(ComplexType
) --
def initialize return_type: ComplexType::UNDEFINED, **splat super(**splat) @return_type = return_type end