static public Method

ContentModel.append_features(klass)

There's no documentation for this item.

Source Code

# File rss/content.rb, line 16
def self.append_features(klass)
  super

  klass.install_must_call_validator(CONTENT_PREFIX, CONTENT_URI)
  %w(encoded).each do |name|
    klass.install_text_element(name, CONTENT_URI, "?",
                               "#{CONTENT_PREFIX}_#{name}")
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.