Method: Library::Version#to_str

Defined in:
lib/library/version.rb

#to_strString

Library::Version is not technically a String-type. This is here only becuase ‘File.join` calls it instead of #to_s.

Returns:

  • (String)

    version number in dot format



112
113
114
# File 'lib/library/version.rb', line 112

def to_str
  @tuple.compact.join('.')
end