Method: YARD::Server::LibraryVersion#to_s
- Defined in:
- lib/yard/server/library_version.rb
#to_s(url_format = true) ⇒ String
Returns the string representation of the library.
145 146 147 |
# File 'lib/yard/server/library_version.rb', line 145 def to_s(url_format = true) version ? "#{name}#{url_format ? '/' : '-'}#{version}" : name.to_s end |