diff options
author | Xavier Noria <fxn@hashref.com> | 2008-05-07 23:18:03 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2008-05-07 23:18:03 +0200 |
commit | 42c5ca18a08d6d6bae0a0925dfda0029552a55ba (patch) | |
tree | 814f6e0f5d42b368ade2804af4de5d21bfa29f29 /activeresource | |
parent | b4d44d3ee7261ad06457d7e5f8742229634f7616 (diff) | |
download | rails-42c5ca18a08d6d6bae0a0925dfda0029552a55ba.tar.gz rails-42c5ca18a08d6d6bae0a0925dfda0029552a55ba.tar.bz2 rails-42c5ca18a08d6d6bae0a0925dfda0029552a55ba.zip |
+ vs <tt> in ActiveResource::Base docs
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/lib/active_resource/base.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index 9859b6dcd2..08fd0123f6 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -707,7 +707,7 @@ module ActiveResource end # Test for equality. Resource are equal if and only if +other+ is the same object or - # is an instance of the same class, is not +new?+, and has the same +id+. + # is an instance of the same class, is not <tt>new?</tt>, and has the same +id+. # # ==== Examples # ryan = Person.create(:name => 'Ryan') @@ -795,7 +795,7 @@ module ActiveResource connection.delete(element_path, self.class.headers) end - # Evaluates to <tt>true</tt> if this resource is not +new?+ and is + # Evaluates to <tt>true</tt> if this resource is not <tt>new?</tt> and is # found on the remote service. Using this method, you can check for # resources that may have been deleted between the object's instantiation # and actions on it. @@ -898,7 +898,7 @@ module ActiveResource self end - # For checking +respond_to?+ without searching the attributes (which is faster). + # For checking <tt>respond_to?</tt> without searching the attributes (which is faster). alias_method :respond_to_without_attributes?, :respond_to? # A method to determine if an object responds to a message (e.g., a method call). In Active Resource, a Person object with a |