Sha256: 32e3de0f5f84f8597f4879ddc7dbf698651a1b60a96337cc49b3f9421a17b3ae

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
    2
  end

  # @return [Integer]
  def self.patch
    2
  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.2.2 lib/flattr/version.rb