ruby/spec bin -> str