Class | RSS::Maker::ItemsBase::ItemBase::ContentBase |
In: |
lib/rss/maker/base.rb
|
Parent: | Base |
xml_content | -> | xml |
# File lib/rss/maker/base.rb, line 839 839: def inline_other? 840: !out_of_line? and ![nil, "text", "html", "xhtml"].include?(@type) 841: end
# File lib/rss/maker/base.rb, line 853 853: def inline_other_base64? 854: return false if @type.nil? or out_of_line? 855: @type.include?("/") and !inline_other_text? and !inline_other_xml? 856: end
# File lib/rss/maker/base.rb, line 843 843: def inline_other_text? 844: return false if @type.nil? or out_of_line? 845: /\Atext\//i.match(@type) ? true : false 846: end
# File lib/rss/maker/base.rb, line 848 848: def inline_other_xml? 849: return false if @type.nil? or out_of_line? 850: /[\+\/]xml\z/i.match(@type) ? true : false 851: end
# File lib/rss/maker/base.rb, line 827 827: def inline_text? 828: [nil, "text", "html"].include?(@type) 829: end
# File lib/rss/maker/base.rb, line 858 858: def out_of_line? 859: not @src.nil? and @content.nil? 860: end