Sha256: 4aaf0b625369eb2c39870135eccd5f8d6ceab09606dc9f21160d1b2c954490ae

Contents?: true

Size: 766 Bytes

Versions: 1

Compression:

Stored size: 766 Bytes

Contents

def init
  super
  sections.push :namespace
  @namespace = object

end

def namespace
  erb(:namespace)
end

def all_features_by_letter
  hash = {}
  objects = features
  objects = run_verifier(objects)
  objects.each {|o| (hash[o.value.to_s[0,1].upcase] ||= []) << o }
  hash
end

def all_directories_by_letter
  hash = {}
  objects = feature_directories
  objects = run_verifier(objects)
  objects.each {|o| (hash[o.value.to_s[0,1].upcase] ||= []) << o }
  hash
end

def feature_directories
  @feature_directories ||= Registry.all(:featuredirectory)
end

def features
  @features ||= Registry.all(:feature)
end

def scenarios
  @scenarios ||= Registry.all(:scenario)
end

def steps
  @steps ||= Registry.all(:step)
end

def tags
  @tags ||= Registry.all(:tag)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.6.3 lib/templates/default/requirements/html/setup.rb