Just wondering if there's a Ruby idiom for extracting a substring from an index until the end of the string. I know of
which works by passing in a range object to the
method but it's a little clunky. In python, for example, you could write
which would implicitly get you the rest of the string.
s = "hello world"
s[6..-1] # <-- "world"
Is there anything nicer than