1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove a reference to Ruby 1.9 in Guides

[ci skip]

Now that Rails requires Ruby >= 2.0 there is no need to document
Ruby 1.9.
This commit is contained in:
claudiob 2014-11-28 18:58:40 -08:00
parent da513551e8
commit 74dc57640d

View file

@ -1447,7 +1447,7 @@ Returns the substring of the string starting at position `position`:
"hello".from(0) # => "hello"
"hello".from(2) # => "llo"
"hello".from(-2) # => "lo"
"hello".from(10) # => "" if < 1.9, nil in 1.9
"hello".from(10) # => nil
```
NOTE: Defined in `active_support/core_ext/string/access.rb`.