Sha256: ccd99431a4debd7e686a279191879ad329381facc974fcc0615bcdd050b2c00d
Contents?: true
Size: 512 Bytes
Versions: 5
Compression:
Stored size: 512 Bytes
Contents
module YARD::CodeObjects::Lucid 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
5 entries across 5 versions & 1 rubygems