Sha256: d04b80934527018e1a6d505c6b2cf41171a660e09c13d8b6b5429e855f761c4f

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

class Aura
  # Class method: version (Aura)
  # Returns the current version.
  #
  # ## Example
  #    Aura.version  #=> "0.5.2"
  #
  def self.version
    "0.0.1.pre10"
  end
  
  # Class method: prerelease? (Aura)
  # Checks if the Aura version is a prerelease.
  #
  # ## Example
  #    Aura.version      #=> "0.5.2"
  #    Aura.prerelease?  #=> false
  #
  #    Aura.version      #=> "0.6.0.pre4"
  #    Aura.prerelease?  #=> true
  #
  def self.prerelease?
    version.count('.') > 2
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aura-0.0.1.pre10 lib/aura/version.rb