def superscript
         style             = CharacterStyle.new
         style.superscript = true
         if block_given?
            apply(style) {|node| yield node}
         else
            apply(style)
         end
      end
def superscript
         style             = CharacterStyle.new
         style.superscript = true
         if block_given?
            apply(style) {|node| yield node}
         else
            apply(style)
         end
      end
def superscript style = CharacterStyle . new style . superscript = true if block_given? apply ( style ) { | node | yield node } else apply ( style ) end end
This method provides a short cut means of creating a superscript command
 node. The method accepts a block that will be passed a single parameter
 which will be a reference to the superscript node created. After the
 block is complete the superscript node is appended to the end of the
 child nodes on the object that the method is call against.
This method provides a short cut means of creating a superscript command node . The method accepts a block that will be passed a single parameter which will be a reference to the superscript node created . After the block is complete the superscript node is appended to the end of the child nodes on the object that the method is call against .