class Cucumber::Formatter::ApiDocs::Group
Public Class Methods
create(tag)
click to toggle source
# File lib/cucumber/formatter/api_docs.rb, line 42 def self.create(tag) key = tag.gsub("@", "") name = key.gsub("_", " ").capitalize new(key: key, name: name) end
for_tag(tag)
click to toggle source
# File lib/cucumber/formatter/api_docs.rb, line 37 def self.for_tag(tag) @groups ||= {} @groups[tag] ||= create(tag) end