Skip to content
This repository has been archived by the owner on Oct 24, 2019. It is now read-only.

Commit

Permalink
Doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Morgan committed May 13, 2010
1 parent f4cc41f commit d7d157e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/scribd/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ def initialize(options={})
# Adds a {Document} to this collection.
#
# @param [Scribd::Document] document The document to add.
# @param [true, false] ignore_if_exists If false, raises an exception if the
# document is already in the collection.
# @param [true, false] ignore_if_exists If @false@, raises an exception if
# the document is already in the collection.
# @return [Scribd::Document] The @document@ parameter.
# @raise [ArgumentError] If an invalid value for @document@ is provided.
# @raise [Scribd::ResponseError] If @ignore_if_exists@ is set to false and
# @raise [Scribd::ResponseError] If @ignore_if_exists@ is set to @false@ and
# the document already exists in the collection. See the online API
# documentation for more information.

Expand All @@ -60,12 +60,12 @@ def <<(document)
# Removes a {Document} from this collection.
#
# @param [Scribd::Document] document The document to remove.
# @param [true, false] ignore_if_missing If false, raises an exception if
# @param [true, false] ignore_if_missing If @false@, raises an exception if
# the document is not in the collection.
# @return [Scribd::Document] The @document@ parameter.
# @raise [ArgumentError] If an invalid value for @document@ is provided.
# @raise [Scribd::ResponseError] If @ignore_if_missing@ is set to false and
# the document does not exist in the collection. See the online API
# @raise [Scribd::ResponseError] If @ignore_if_missing@ is set to @false@
# and the document does not exist in the collection. See the online API
# documentation for more information.

def remove(document, ignore_if_missing=true)
Expand Down

0 comments on commit d7d157e

Please sign in to comment.