class YARD::Tags::TypesExplainer::FixedCollectionType

@private

Public Instance Methods

to_s(_singular = true) click to toggle source
# File lib/yard/tags/types_explainer.rb, line 73
def to_s(_singular = true)
  "a#{name[0, 1] =~ /[aeiou]/i ? 'n' : ''} #{name} containing (" + types.map(&:to_s).join(" followed by ") + ")"
end