From 0666e7b3bf70e4dc80ba9499812170fb39cd02a2 Mon Sep 17 00:00:00 2001 From: Vasiliy Ermolovich Date: Tue, 15 May 2012 21:00:42 +0300 Subject: update docs on String#at about ruby version --- guides/source/active_support_core_extensions.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') 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 NOTE: Defined in +active_support/core_ext/string/access.rb+. -- cgit v1.2.3