Sha256: 7535db5a8b7d12bccf1772accac1688decd55c9e4c7ccc302f61990a7e37d4ce

Contents?: true

Size: 329 Bytes

Versions: 1

Compression:

Stored size: 329 Bytes

Contents

# -*- encoding: utf-8 -*-

module WatchTower
  MAJOR = 0
  MINOR = 0
  TINY = 1
  PRE = 'beta11'

  def self.version
    # Init the version
    version = [MAJOR, MINOR, TINY]
    # Add the pre if available
    version << PRE unless PRE.nil? || PRE !~ /\S/
    # Return the version joined by a dot
    version.join('.')
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watch_tower-0.0.1.beta11 lib/watch_tower/version.rb