def direction(string)
      direction = nil
      strategies.each do |strategy|
        direction = strategy.run(string)
        break if direction
      end
      direction
    end
def direction(string)
      direction = nil
      strategies.each do |strategy|
        direction = strategy.run(string)
        break if direction
      end
      direction
    end
Initialize strategies from given arguments. If no strategies are given, they are taken from the value of {StringDirection::Configuration#default_strategies}

 @raise [ArgumentError] if strategy class is not found. For example, for an strategy `:marks` a class `StringDirection::MarksStrategy` is expected
 Tries to detect and return the direction of a string. It returns `ltr` if the string is left-to-right, `rtl` if it is right-to-left, `bidi` if it is bidirectional or `nil` if it can't detect the direction. It iterates through {#strategies} until one of them successes.

 @param string [String] The string to inspect
 @return [String, nil]