private Method

Element.validate_attribute

There's no documentation for this item.

Source Code

# File rss/rss.rb, line 838
def validate_attribute
  _attrs.each do |a_name, required, alias_name|
    if required and __send__(alias_name || a_name).nil?
      raise MissingAttributeError.new(tag_name, a_name)
    end
  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.