Sha256: 47b21148b3808a3841405153c952b100d01a9303e30add19ec836aabeda6b0a3

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 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
  Registry.all(:tag)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.6.3 lib/templates/default/featuretags/html/setup.rb
cucumber-in-the-yard-1.6.1 lib/templates/default/tags/html/setup.rb
cucumber-in-the-yard-1.6.0 lib/templates/default/tags/html/setup.rb