class YARD::NRSER::Cucumber::Version

{Singleton} extension of {Gem::Version} that loads {Locd::VERSION} and provides some convenient methods.

Public Class Methods

dev?() click to toggle source

Proxies to the {#instance}'s {#dev?}.

@return (see dev?)

# File lib/yard/nrser/cucumber/version.rb, line 82
def self.dev?
  instance.dev?
end

Private Class Methods

new() click to toggle source

Private method to instantiate the {#instance} using the {Locd::VERSION} {String}.

@return [Version]

Calls superclass method
# File lib/yard/nrser/cucumber/version.rb, line 70
def self.new
  super VERSION
end

Public Instance Methods

dev?() click to toggle source

Tests if the package's version is a development pre-release.

@return [Boolean]

`true` if this is a development pre-release.
# File lib/yard/nrser/cucumber/version.rb, line 91
def dev?
  segments[3] == 'dev'
end