123456789_123456789_123456789_123456789_123456789_

Module: RSS::TrackBackUtils

Do not use. This module is for internal use only.
Relationships & Source Files
Defined in: lib/rss/trackback.rb

Instance Method Summary

Instance Method Details

#trackback_validate(ignore_unknown_element, tags, uri) (private)

[ GitHub ]

  
# File 'lib/rss/trackback.rb', line 17

def trackback_validate(ignore_unknown_element, tags, uri)
  return if tags.nil?
  if tags.find {|tag| tag == "about"} and
      !tags.find {|tag| tag == "ping"}
    raise MissingTagError.new("#{TRACKBACK_PREFIX}:ping", tag_name)
  end
end