| Class | RSS::Maker::ItemsBase::ItemBase::ContentBase |
| In: |
lib/rss/maker/base.rb
|
| Parent: | Base |
| xml_content | -> | xml |
# File lib/rss/maker/base.rb, line 876
876: def inline_other?
877: !out_of_line? and ![nil, "text", "html", "xhtml"].include?(@type)
878: end
# File lib/rss/maker/base.rb, line 890
890: def inline_other_base64?
891: return false if @type.nil? or out_of_line?
892: @type.include?("/") and !inline_other_text? and !inline_other_xml?
893: end
# File lib/rss/maker/base.rb, line 880
880: def inline_other_text?
881: return false if @type.nil? or out_of_line?
882: /\Atext\//i.match(@type) ? true : false
883: end
# File lib/rss/maker/base.rb, line 885
885: def inline_other_xml?
886: return false if @type.nil? or out_of_line?
887: /[\+\/]xml\z/i.match(@type) ? true : false
888: end
# File lib/rss/maker/base.rb, line 864
864: def inline_text?
865: [nil, "text", "html"].include?(@type)
866: end
# File lib/rss/maker/base.rb, line 895
895: def out_of_line?
896: not @src.nil? and @content.nil?
897: end