method
alternate=
ruby latest stable - Class:
RSS::XMLStyleSheet
alternate=(value)public
No documentation available.
# 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