Sha256: 64340b1b2a2d2019a2bc2385295a68be43694175dff542a6f7ac3c45eea81d9b

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

# frozen_string_literal: true

module Guard
  # A workaround for declaring `class Yardstick`
  # before `class Yardstick < Guard` in yardstick.rb
  module YardstickVersion
    # http://semver.org/
    MAJOR = 1
    MINOR = 0
    PATCH = 0

    # Returns a formatted version string
    #
    # @example
    #   Guard::YardstickVersion.to_s # => '0.0.0.2'
    #
    # @return [String]
    def self.to_s
      [MAJOR, MINOR, PATCH].join('.')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
guard-yardstick-1.0.0 lib/guard/yardstick/version.rb