diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rake/linked_list.rb | 2 | ||||
-rw-r--r-- | lib/rdoc/rd/block_parser.rb | 4 | ||||
-rw-r--r-- | lib/rss/rss.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/rake/linked_list.rb b/lib/rake/linked_list.rb index 26483703f4..7369e83ac3 100644 --- a/lib/rake/linked_list.rb +++ b/lib/rake/linked_list.rb @@ -80,7 +80,7 @@ module Rake # # When inheriting from the LinkedList class, you should implement # a type specific Empty class as well. Make sure you set the class - # instance variable @parent to the assocated list class (this + # instance variable @parent to the associated list class (this # allows conj, cons and make to work polymorphically). class EmptyLinkedList < LinkedList @parent = LinkedList diff --git a/lib/rdoc/rd/block_parser.rb b/lib/rdoc/rd/block_parser.rb index dd15e1262e..ed621290fd 100644 --- a/lib/rdoc/rd/block_parser.rb +++ b/lib/rdoc/rd/block_parser.rb @@ -144,9 +144,9 @@ def next_token # :nodoc: # call filter, part_out is output(Part object) part_out = @tree.filter[@in_part].call(part) - if @tree.filter[@in_part].mode == :rd # if output is RD formated + if @tree.filter[@in_part].mode == :rd # if output is RD formatted subtree = parse_subtree(part_out.to_a) - else # if output is target formated + else # if output is target formatted basename = TMPFILE.join('.') TMPFILE[-1] += 1 tmpfile = open(@tree.tmp_dir + "/" + basename + ".#{@in_part}", "w") diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index 6c89598e2d..a33d21c97e 100644 --- a/lib/rss/rss.rb +++ b/lib/rss/rss.rb @@ -105,7 +105,7 @@ module RSS end # Some tags must only exist a specific number of times in a given RSS feed. - # If a feed has too many occurances of one of these tags, a TooMuchTagError + # If a feed has too many occurrences of one of these tags, a TooMuchTagError # will be raised. class TooMuchTagError < InvalidRSSError attr_reader :tag, :parent |