Sha256: 4701f2d5c2cc24974d823c27204673ada9d99b34deb3802d952e9e93fab83e01

Contents?: true

Size: 343 Bytes

Versions: 40

Compression:

Stored size: 343 Bytes

Contents

module Cucumber
  module Tree
    class Features
      def initialize
        @features = []
      end
      
      def length
        @features.length
      end

      def <<(feature)
        @features << feature
      end

      def accept(visitor)
        @features.each{|feature| visitor.visit_feature(feature)}
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 7 rubygems

Version Path
aslakhellesoy-cucumber-0.1.1 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.10 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.11 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.12 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.13.2 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.13.3 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.13 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.14.1 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.14.2 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.15 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.16.1 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.16.2 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.16.3 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.16.4 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.16 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.2 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.3 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.4 lib/cucumber/tree/features.rb
aslakhellesoy-cucumber-0.1.9 lib/cucumber/tree/features.rb
bts-cucumber-0.1.13.1 lib/cucumber/tree/features.rb