Module: YARD::NRSER::Cucumber

Defined in:
lib/yard/nrser/cucumber/version.rb

Defined Under Namespace

Classes: Version

Constant Summary collapse

ROOT =

Absolute, expanded path to the gem’s root directory.

Returns:

  • (Pathname)
Pathname.new( __dir__ ).join( '..', '..', '..', '..' ).expand_path
VERSION =

String version read from ‘//VERSION` and used in the gemspec.

Returns:

  • (String)
(ROOT + 'VERSION').read.chomp
NAME =

The gem name, read from the ‘//NAME` file, and used in the gemspec.

Returns:

  • (String)
(ROOT + 'NAME').read.chomp

Class Method Summary collapse

Class Method Details

.repo?Boolean

Returns:

  • (Boolean)


55
56
57
# File 'lib/yard/nrser/cucumber/version.rb', line 55

def self.repo?
  ROOT.join( 'dev' ).directory?
end