Class: YARD::Tags::TypesExplainer::CollectionType Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
YARD::Tags::TypesExplainer::FixedCollectionType
|
|
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Type
|
|
Instance Chain:
self,
Type
|
|
Inherits: |
YARD::Tags::TypesExplainer::Type
|
Defined in: | lib/yard/tags/types_explainer.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Instance Attribute Details
#types (rw)
[ GitHub ]# File 'lib/yard/tags/types_explainer.rb', line 59
attr_accessor :types
Instance Method Details
#to_s(_singular = true)
[ GitHub ]# File 'lib/yard/tags/types_explainer.rb', line 66
def to_s(_singular = true) "a#{name[0, 1] =~ /[aeiou]/i ? 'n' : ''} #{name} of (" + list_join(types.map {|t| t.to_s(false) }) + ")" end