diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-05 01:19:23 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-05 01:19:23 +0200 |
commit | 8e8cb1769f3a78c53e5b79d0ce6a08589045cfca (patch) | |
tree | 12084eda6bfebc78a2d7deb4dbe625d8ac554a51 /railties | |
parent | 67a43554f153a3ddb97039b5fac305c0619dd372 (diff) | |
download | rails-8e8cb1769f3a78c53e5b79d0ce6a08589045cfca.tar.gz rails-8e8cb1769f3a78c53e5b79d0ce6a08589045cfca.tar.bz2 rails-8e8cb1769f3a78c53e5b79d0ce6a08589045cfca.zip |
AS guide: removes your spurious line
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 6c3a005daf..30b2099be4 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -1933,8 +1933,6 @@ h4. Random Access Active Support backports +sample+ from Ruby 1.9: -You can pick a random element with +sample+: - <ruby> shape_type = [Circle, Square, Triangle].sample # => Square, for example |