method

to_s

ruby latest stable - Class: RSS::XMLStyleSheet
to_s()
public

No documentation available.

# File lib/rss/xml-stylesheet.rb, line 56
    def to_s
      rv = ""
      if @href
        rv << %[<?xml-stylesheet]
        ATTRIBUTES.each do |name|
          if __send__(name)
            rv << %[ #{name}="#{h __send__(name)}"]
          end
        end
        rv << %[?>]
      end
      rv
    end