diff options
author | rohit <rohit.arondekar@gmail.com> | 2010-06-21 10:11:21 +0530 |
---|---|---|
committer | rohit <rohit.arondekar@gmail.com> | 2010-06-21 10:11:21 +0530 |
commit | 9b7540bd9220333097a1ed2f00e09a4492916570 (patch) | |
tree | 25141561e51961f3337bf41a9e812e14d704e1d4 /railties | |
parent | 0da754dc5935acb720c7593fd3faaf2fa8aece1a (diff) | |
download | rails-9b7540bd9220333097a1ed2f00e09a4492916570.tar.gz rails-9b7540bd9220333097a1ed2f00e09a4492916570.tar.bz2 rails-9b7540bd9220333097a1ed2f00e09a4492916570.zip |
Guides: AS Core Extentions, minor typos fixed.
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/active_support_core_extensions.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index cd7a183def..1ce0ed8d7b 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -24,7 +24,7 @@ h5. Cherry-picking a Definition The most lightweight way to get +blank?+ is to cherry-pick the file that defines it. -For every single method defined as a core extension this guide has a note that says where is such a method defined. In the case of +blank?+ the note reads: +For every single method defined as a core extension this guide has a note that says where such a method is defined. In the case of +blank?+ the note reads: NOTE: Defined in +active_support/core_ext/object/blank.rb+. @@ -124,7 +124,7 @@ NOTE: Defined in +active_support/core_ext/object/blank.rb+. h4. +duplicable?+ -A few fundamental objects in Ruby are singletons. For example, in the whole live of a program the integer 1 refers always to the same instance: +A few fundamental objects in Ruby are singletons. For example, in the whole life of a program the integer 1 refers always to the same instance: <ruby> 1.object_id # => 3 |