class YARD::CodeObjects::Cucumber::Feature

Attributes

background[RW]
comments[RW]
description[RW]
keyword[RW]
scenarios[RW]
tags[RW]
value[RW]

Public Class Methods

new(namespace, name) click to toggle source
Calls superclass method
# File lib/yard/code_objects/cucumber/feature.rb, line 9
def initialize(namespace, name)
  @comments = ""
  @scenarios = []
  @tags = []
  super(namespace, name.to_s.strip)
end

Public Instance Methods

total_scenarios() click to toggle source
# File lib/yard/code_objects/cucumber/feature.rb, line 5
def total_scenarios
  scenarios.count
end