Sha256: 27c17b8a461f9f665407ff1d875ff9c098ba7807612fef3d3d6681d2e19832b8

Contents?: true

Size: 478 Bytes

Versions: 31

Compression:

Stored size: 478 Bytes

Contents


module YARD::CodeObjects::Cucumber

  class Scenario < NamespaceObject
        
    attr_accessor :value, :comments, :keyword, :description, :steps, :tags, :feature
    
    def initialize(namespace,name)
      super(namespace,name.to_s.strip)
      @comments = @description = @keyword = @value = @feature = nil
      @steps = []
      @tags = []
    end
    
    def background?
      @keyword == "Background"
    end
    
    def outline?
      false
    end
    
  end

end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
yard-cucumber-2.0.2 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.0.1 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.0.0 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.8 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.7 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.6 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.5 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.4 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.3 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.2 lib/yard/code_objects/cucumber/scenario.rb
cucumber-in-the-yard-1.7.1 lib/yard/code_objects/cucumber/scenario.rb