Sha256: d49dde034fb07e4432ee27492019079dc2b0dc38d0514df2cb92e55b90eb8c55

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