module RSpec::Matchers
def start_with(*expected)
expect([0, 1, 2, 3, 4]).to start_with 0
expect("this string").to start_with "this s"
@example
`expected.length` elements of the actual array.
of the actual string. In the case of an array, matches against the first
case of a string, matches against the first `expected.length` characters
Matches if the actual value starts with the expected value(s). In the
def start_with(*expected) BuiltIn::StartWith.new(*expected) end