Sha256: 5c7f1a1c4890360d0951fe2ce6c8539fbd0289ab7566bab06f2b77a1097a6213

Contents?: true

Size: 446 Bytes

Versions: 5

Compression:

Stored size: 446 Bytes

Contents

module YARD::CodeObjects::Lucid
  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

5 entries across 5 versions & 1 rubygems

Version Path
yard-lucid-0.5.0 lib/yard/code_objects/lucid/scenario.rb
yard-lucid-0.4.0 lib/yard/code_objects/lucid/scenario.rb
yard-lucid-0.3.0 lib/yard/code_objects/lucid/scenario.rb
yard-lucid-0.2.0 lib/yard/code_objects/lucid/scenario.rb
yard-lucid-0.1.0 lib/yard/code_objects/lucid/scenario.rb