Method: ArchDesc#current_content
- Defined in:
- lib/elements/archdesc.rb
#current_content ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/elements/archdesc.rb', line 18 def current_content text = create_open_tag+"\n" each_subel do |name| if not subel_mult?(name) value = send(name) if value doc = REXML::Document.new xml = value.create_xml(doc) doc.write(text,2) end end end text end |