# File lib/facets/more/xmlhelper.rb, line 79 def instruct( tag, *args ) atts = Hash === args.last ? args.pop : {} atts = atts.collect{ |k,v| %{ #{k}="#{v}"} }.join('') body = ' ' + args.join(' ') "<?#{tag}#{body}#{atts}?>" end