Sha256: 8c92d85d3df1b282200b0a66624feb0d945131362cc0a25d21fc46338645d6ac

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
    3
  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.3 lib/flattr/version.rb