Sha256: b180ee1f841e8905d4e799139c12402562933ccc42d59d9e9e850ec5c3987101
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
# File: config.rb module Cukedep # Module used as a namespace FileMetaData = Struct.new(:name) Config = Struct.new( :feature_encoding, # The encoding of feature files :proj_dir, # The directory of the cucumber project :feature2id, # Meta-data about the feature => feature id report :id2feature, # Meta-data about the feature id => feature report :graph_file, # Meta-data about the dependency graph file :rake_file, # Name of the output rake file :cucumber_args # Command-line syntax to use for the cucumber application ) # Re-open the class for further customisation # Configuration object for the Cukedep application. class Config # Factory method. Build a config object with default settings. def self.default() Config.new( 'UTF-8', nil, FileMetaData.new('feature2id.csv'), FileMetaData.new('feature2id.csv'), FileMetaData.new('dependencies.dot'), 'cukedep.rake', [] ) end end # class end # module # End of file
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cukedep-0.0.8 | lib/cukedep/config.rb |