Class: Cukedep::Config
- Inherits:
-
Struct
- Object
- Struct
- Cukedep::Config
- Defined in:
- lib/cukedep/config.rb,
lib/cukedep/config.rb
Overview
Configuration object for the Cukedep application.
Instance Attribute Summary collapse
-
#cucumber_args ⇒ Object
Returns the value of attribute cucumber_args.
-
#feature2id ⇒ Object
Returns the value of attribute feature2id.
-
#feature_encoding ⇒ Object
Returns the value of attribute feature_encoding.
-
#graph_file ⇒ Object
Returns the value of attribute graph_file.
-
#id2feature ⇒ Object
Returns the value of attribute id2feature.
-
#proj_dir ⇒ Object
Returns the value of attribute proj_dir.
-
#rake_file ⇒ Object
Returns the value of attribute rake_file.
Class Method Summary collapse
-
.default ⇒ Object
Factory method.
Instance Attribute Details
#cucumber_args ⇒ Object
Returns the value of attribute cucumber_args
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def cucumber_args @cucumber_args end |
#feature2id ⇒ Object
Returns the value of attribute feature2id
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def feature2id @feature2id end |
#feature_encoding ⇒ Object
Returns the value of attribute feature_encoding
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def feature_encoding @feature_encoding end |
#graph_file ⇒ Object
Returns the value of attribute graph_file
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def graph_file @graph_file end |
#id2feature ⇒ Object
Returns the value of attribute id2feature
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def id2feature @id2feature end |
#proj_dir ⇒ Object
Returns the value of attribute proj_dir
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def proj_dir @proj_dir end |
#rake_file ⇒ Object
Returns the value of attribute rake_file
7 8 9 |
# File 'lib/cukedep/config.rb', line 7 def rake_file @rake_file end |
Class Method Details
.default ⇒ Object
Factory method. Build a config object with default settings.
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/cukedep/config.rb', line 22 def self.default() Config.new( 'UTF-8', nil, FileMetaData.new('feature2id.csv'), FileMetaData.new('feature2id.csv'), FileMetaData.new('dependencies.dot'), 'cukedep.rake', [] ) end |