class SyntaxTree::YARV::AnyToString

### Summary

‘anytostring` ensures that the value on top of the stack is a string.

It pops two values off the stack. If the first value is a string it pushes it back on the stack. If the first value is not a string, it uses Ruby’s built in string coercion to coerce the second value to a string and then pushes that back on the stack.

This is used in conjunction with ‘objtostring` as a fallback for when an object’s ‘to_s` method does not return a string.

### Usage

~~~ruby “#{5}” ~~~