Sha256: 95fcbb34310dda9432708961b3b0cb1b9a84e3e4f5361314c0e45b056d1b0045

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.6.4 lib/templates/default/featuretags/html/setup.rb