Class: CucumberFM::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber_f_m/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Config

Returns a new instance of Config.



5
6
7
8
# File 'lib/cucumber_f_m/config.rb', line 5

def initialize(params={})
  set_default_values
  update(params)
end

Instance Attribute Details

#aggregateObject

Returns the value of attribute aggregate.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def aggregate
  @aggregate
end

#cvs_commitObject

Returns the value of attribute cvs_commit.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def cvs_commit
  @cvs_commit
end

#cvs_pushObject

Returns the value of attribute cvs_push.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def cvs_push
  @cvs_push
end

#dirObject

Returns the value of attribute dir.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def dir
  @dir
end

#display_asObject

Returns the value of attribute display_as.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def display_as
  @display_as
end

#sortObject

Returns the value of attribute sort.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def sort
  @sort
end

#tagsObject

Returns the value of attribute tags.



3
4
5
# File 'lib/cucumber_f_m/config.rb', line 3

def tags
  @tags
end

Instance Method Details

#aggregate_optionsObject



10
11
12
# File 'lib/cucumber_f_m/config.rb', line 10

def aggregate_options
  [''] + CucumberFM::FeatureElement::Component::Tags::PATTERN.keys.map(& :to_s).sort
end