Sha256: b118fb5d2c690f6c5c78cec998a15cf477e5fd3d5a1817723c19928644d2d31a

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

module Flattr
  class Version

  # @return [Integer]
  def self.major
    0
  end

  # @return [Integer]
  def self.minor
    3
  end

  # @return [Integer]
  def self.patch
    7
  end

  # @return [String, NilClass]
  def self.pre
    nil
  end

  # @return [String]
  def self.to_s
    [major, minor, patch, pre].compact.join('.')
  end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flattr-0.3.7 lib/flattr/version.rb