Sha256: 175f0912593775277fede4723d6f797db456484fe972db4557f8abb7fd3f4cbe
Contents?: true
Size: 538 Bytes
Versions: 40
Compression:
Stored size: 538 Bytes
Contents
module YARD::CodeObjects::Cucumber class Tag < NamespaceObject attr_accessor :value, :owners def features @owners.find_all{|owner| owner.is_a?(Feature) } end def scenarios @owners.find_all{|owner| owner.is_a?(Scenario) || owner.is_a?(ScenarioOutline) } end def indirect_scenarios @owners.find_all{|owner| owner.is_a?(Feature) }.collect {|feature| feature.scenarios }.flatten end def all_scenarios scenarios + indirect_scenarios end end end
Version data entries
40 entries across 40 versions & 3 rubygems