Sha256: 24f36b53cc8e8a485b38b8aa115b76090ac2bed2c34378d7de65f9d9a7cd7d58
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
def valid_xfdf xfdf = Builder::XmlMarkup.new xfdf.instruct! xfdf.xfdf(:xmlns => "http://ns.adobe.com/xfdf/", :"xml:space" => "preserve") do xfdf.fields do xfdf.field(:name => :test) do xfdf.value "one" end xfdf.field(:name => :user) do xfdf.value "tom" end end end xfdf end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pdftk_forms-0.1.0 | spec/support/xfdf_helper.rb |