Method: RunLoop::Version#to_s

Defined in:
lib/run_loop/version.rb

#to_sString

Returns an string representation of this version.

Returns:



86
87
88
89
90
# File 'lib/run_loop/version.rb', line 86

def to_s
  str = [major, minor, patch].compact.join('.')
  str = "#{str}.#{pre}" if pre
  str
end