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