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.
Pathname.new( __dir__ ).join( '..', '..', '..', '..' ).
- VERSION =
String version read from ‘//VERSION` and used in the gemspec.
(ROOT + 'VERSION').read.chomp
- NAME =
The gem name, read from the ‘//NAME` file, and used in the gemspec.
(ROOT + 'NAME').read.chomp
Class Method Summary collapse
Class Method Details
.repo? ⇒ Boolean
55 56 57 |
# File 'lib/yard/nrser/cucumber/version.rb', line 55 def self.repo? ROOT.join( 'dev' ).directory? end |