Sha256: d5eb0508491c86e766e1e59b1c020b949943486a0cc67940c62f799d8fc5cab1

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