Parent

Included Modules

Class/Module Index [+]

Quicksearch

Cucumber::Formatter::TagCloud

The formatter used for --format tag_cloud Custom formatter that prints a tag cloud as a table.

Public Class Methods

new(step_mother, path_or_io, options) click to toggle source
# File lib/cucumber/formatter/tag_cloud.rb, line 11
def initialize(step_mother, path_or_io, options)
  @io = ensure_io(path_or_io, "tag_cloud")
  @options = options
  @counts = Hash.new{|h,k| h[k] = 0}
end

Public Instance Methods

after_features(features) click to toggle source
# File lib/cucumber/formatter/tag_cloud.rb, line 17
def after_features(features)
  print_summary(features)
end
tag_name(tag_name) click to toggle source
# File lib/cucumber/formatter/tag_cloud.rb, line 21
def tag_name(tag_name)
  @counts[tag_name] += 1
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.