Sha256: 13b4a86e7da4bb557c97f93f971eb646e976d6a1c547779423944c237b00ee3a
Contents?: true
Size: 973 Bytes
Versions: 5
Compression:
Stored size: 973 Bytes
Contents
# File: config.rb module Cukedep # Module used as a namespace FileMetaData = Struct.new(:name) Config = Struct.new( :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( 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
cukedep-0.0.7 | lib/cukedep/config.rb |
cukedep-0.0.6 | lib/cukedep/config.rb |
cukedep-0.0.5 | lib/cukedep/config.rb |
cukedep-0.0.4 | lib/cukedep/config.rb |
cukedep-0.0.3 | lib/cukedep/config.rb |