method
alternate=
alternate=(value)
public
Hide source
# File lib/rss/xml-stylesheet.rb, line 80 def alternate=(value) if value.nil? or /\A(?:yes|no)\z/ =~ value @alternate = value else if @do_validate args = ["?xml-stylesheet?", %[alternate="#{value}"]] raise NotAvailableValueError.new(*args) end end @alternate end