aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVasiliy Ermolovich <younash@gmail.com>2012-05-15 21:00:42 +0300
committerVasiliy Ermolovich <younash@gmail.com>2012-05-15 21:00:42 +0300
commit0666e7b3bf70e4dc80ba9499812170fb39cd02a2 (patch)
tree3a5243e309c9e70c0f2e4686386dddd3983bd57a /guides
parente2322a9087d7eb5dc78b72c6ffacfe55a50b8c9e (diff)
downloadrails-0666e7b3bf70e4dc80ba9499812170fb39cd02a2.tar.gz
rails-0666e7b3bf70e4dc80ba9499812170fb39cd02a2.tar.bz2
rails-0666e7b3bf70e4dc80ba9499812170fb39cd02a2.zip
update docs on String#at about ruby version
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_core_extensions.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_support_core_extensions.textile b/guides/source/active_support_core_extensions.textile
index bf30ed64c8..393d09b7af 100644
--- a/guides/source/active_support_core_extensions.textile
+++ b/guides/source/active_support_core_extensions.textile
@@ -1337,7 +1337,7 @@ Returns the character of the string at position +position+:
"hello".at(0) # => "h"
"hello".at(4) # => "o"
"hello".at(-1) # => "o"
-"hello".at(10) # => ERROR if < 1.9, nil in 1.9
+"hello".at(10) # => nil
</ruby>
NOTE: Defined in +active_support/core_ext/string/access.rb+.