timcase/echonest

Echowrap::Version
A

No issues here. Congrats!

module Echowrap
  class Version
    MAJOR = 0 unless defined? Echowrap::Version::MAJOR
    MINOR = 2 unless defined? Echowrap::Version::MINOR
    PATCH = 0 unless defined? Echowrap::Version::PATCH
    PRE = nil unless defined? Echowrap::Version::PRE

    class << self

      # @return [String]
      def to_s
        [MAJOR, MINOR, PATCH, PRE].compact.join('.')
      end

    end

  end
end