aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_overview.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_overview.textile b/railties/guides/source/active_support_overview.textile
index 70aeddf226..b847e3b742 100644
--- a/railties/guides/source/active_support_overview.textile
+++ b/railties/guides/source/active_support_overview.textile
@@ -747,7 +747,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
+"hello".at(10) # => ERROR if < 1.9, nil in 1.9
</ruby>
h5. +from(position)+
@@ -758,7 +758,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) # => ""
+"hello".from(10) # => "" if < 1.9, nil in 1.9
</ruby>
h5. +to(position)+