class Yoda::Model::Types::UnknownType
Attributes
name[R]
Public Class Methods
new(name = 'unknown')
click to toggle source
@param name [String]
# File lib/yoda/model/types/unknown_type.rb, line 8 def initialize(name = 'unknown') @name = name end
Public Instance Methods
change_root(path)
click to toggle source
@param path [Path] @return [self]
# File lib/yoda/model/types/unknown_type.rb, line 23 def change_root(path) self end
eql?(another)
click to toggle source
@param another [Object]
# File lib/yoda/model/types/unknown_type.rb, line 13 def eql?(another) another.is_a?(UnknownType) end
hash()
click to toggle source
# File lib/yoda/model/types/unknown_type.rb, line 17 def hash [self.class.name, name].hash end
resolve(registry)
click to toggle source
@param registry [Registry] @return [Array<YARD::CodeObjects::Base>]
# File lib/yoda/model/types/unknown_type.rb, line 29 def resolve(registry) [] end
to_s()
click to toggle source
@return [String]
# File lib/yoda/model/types/unknown_type.rb, line 34 def to_s 'any' end