class YARD::Tags::TypesExplainer::DuckType
@private
Public Instance Methods
Source
# File lib/yard/tags/types_explainer.rb, line 67 def to_s(singular = true) (singular ? "an object that responds to " : "objects that respond to ") + list_join(name.split(/ *& */), with: "and") end