Sha256: e6c523b791fb715239ae76ac51dd3620aa23469b25e14108a159e47989315f05
Contents?: true
Size: 437 Bytes
Versions: 29
Compression:
Stored size: 437 Bytes
Contents
module Cucumber module Ast class Features include Enumerable def initialize @features = [] end def each(&proc) @features.each(&proc) end def add_feature(feature) feature.features = self @features << feature end def accept(visitor) @features.each do |feature| visitor.visit_feature(feature) end end end end end
Version data entries
29 entries across 29 versions & 4 rubygems