Sha256: d37dd8777f995a2ce7ae0fac9e915b1b043ece44129b17882c4c004df88e3935
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
# File: constants.rb # Purpose: definition of Cukedep constants. module Cukedep # Module used as a namespace # The version number of the gem. Version = '0.2.00'.freeze # Brief description of the gem. Description = 'Manage dependencies between Cucumber feature files'.freeze # Constant Cukedep::RootDir contains the absolute path of Rodent's # root directory. Note: it also ends with a slash character. unless defined?(RootDir) # The initialisation of constant RootDir is guarded in order # to avoid multiple initialisation (not allowed for constants) # The root folder of Cukedep. RootDir = begin require 'pathname' # Load Pathname class from standard library rootdir = Pathname(__FILE__).dirname.parent.parent.expand_path rootdir.to_s + '/' # Append trailing slash character to it end # The file name for the user's settings YMLFilename = '.cukedep.yml'.freeze # The file name for the custom block codes associated # with before/after events. HookFilename = 'cukedep_hooks.rb'.freeze end end # module # End of file
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cukedep-0.2.00 | lib/cukedep/constants.rb |