Sha256: 404b8765affe2c1b435c9a41d8e97b1115b9f2941da75ef7562567e52dabdf91
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
def init super sections.push :namespace @namespace = object end def namespace erb(:namespace) end def all_tags_by_letter hash = {} objects = tags objects = run_verifier(objects) objects.each {|o| (hash[o.value.to_s[1,1].upcase] ||= []) << o } hash end def tags @tags ||= Registry.all(:tag) end def features @features ||= Registry.all(:feature).sort {|x,y| x.value <=> y.value } end def scenarios @scenarios ||= Registry.all(:scenario).reject {|s| s.outline? || s.background? }.sort {|x,y| x.value <=> y.value } end def tagify(tag) %{<span class="tag" href="#{url_for tag}">#{tag.value}</span>} end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cucumber-in-the-yard-1.7.0 | lib/templates/default/featuretags/html/setup.rb |