Sha256: c45c90e72ba67387e57a1c6793841c1395080b04fbf5589824ca279de158cba3

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents


module YARD::CodeObjects::Cucumber

  class Step < Base
    
    attr_accessor :definition, :keyword, :scenario, :table, :text, :value
    
    def initialize(namespace,name)
      super(namespace,name.to_s.strip)
      @definition = @description = @keyword = @table = @text = @value = nil
    end

    def has_table?
      !@table.nil?
    end

    def has_text?
      !@text.nil?
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.4 lib/yard/code_objects/cucumber/step.rb
cucumber-in-the-yard-1.3 lib/yard/code_objects/step.rb