class Turbo::SystemTestHelper::SignedStreamNameConditions

:nodoc:

def attribute

def attribute
  XPath.attr(:"signed-stream-name")
end

def each

def each
  if @value.is_a?(String)
    yield attribute == @value
    yield attribute == signed_stream_name(@value)
  elsif @value.is_a?(Array) || @value.respond_to?(:to_key)
    yield attribute == signed_stream_name(@value)
  elsif @value.present?
    yield attribute == @value
  end
end

def initialize(value)

def initialize(value)
  @value = value
end