You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
String#delete_prefix is documented for 2.4.1, but does not exist until 2.5.0dev. #80
String#delete_prefix and String#delete_prefix! appear in the documentation for Ruby 2.4.1, but when I try to use them I get the following error:
"hello".delete_prefix("hel")NoMethodError: undefinedmethod`delete_prefix' for "hello":String from (irb):1 from /Users/alex/.rbenv/versions/2.4.1/bin/irb:11:in `<main>'
Activity