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