alternate=(value) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

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
Register or log in to add new notes.