# File lib/builder/xmlmarkup.rb, line 242 242: def instruct!(directive_tag=:xml, attrs={}) 243: _ensure_no_block ::Kernel::block_given? 244: if directive_tag == :xml 245: a = { :version=>"1.0", :encoding=>"UTF-8" } 246: attrs = a.merge attrs 247: @encoding = attrs[:encoding].downcase 248: end 249: _special( 250: "<?#{directive_tag}", 251: "?>", 252: nil, 253: attrs, 254: [:version, :encoding, :standalone]) 255: end