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-3.1.0 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-3.0.0 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber2-2.3.4 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber2-2.3.3 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.3.2 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.3.1 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.3.0 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.2.3 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.2.2 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.2.1 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.2.0 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.7 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.6 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.5 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.4 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.3 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.2 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.1 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.1.0 lib/yard/code_objects/cucumber/scenario.rb
yard-cucumber-2.0.3 lib/yard/code_objects/cucumber/scenario.rb