In Files

  • rss/maker/base.rb
  • rss/maker/content.rb
  • rss/maker/dublincore.rb
  • rss/maker/image.rb
  • rss/maker/itunes.rb
  • rss/maker/slash.rb
  • rss/maker/taxonomy.rb
  • rss/maker/trackback.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::ItemsBase

Attributes

do_sort[RW]
max_size[RW]

Public Class Methods

new(maker) click to toggle source
 
               # File rss/maker/base.rb, line 639
def initialize(maker)
  super
  @do_sort = false
  @max_size = -1
end
            

Public Instance Methods

normalize() click to toggle source
 
               # File rss/maker/base.rb, line 645
def normalize
  if @max_size >= 0
    sort_if_need[0...@max_size]
  else
    sort_if_need[0..@max_size]
  end
end
            

Commenting is here to help enhance the documentation. For example, sample code, or clarification of the documentation.

If you are posting code samples in your comments, please wrap them in "<pre><code class="ruby" > ... </code></pre>" markup in order to get syntax highlighting.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file a bug report so that it can be corrected for the next release. Thank you.

blog comments powered by Disqus