Method: XMLMapping::ClassMethods#text

Defined in:
lib/xmlmapping.rb

#text(attribute, options = {}) ⇒ Object



155
156
157
158
# File 'lib/xmlmapping.rb', line 155

def text(attribute, options = {})
	options[:namespace] = :any
	add(attribute, :text, options)
end