Class: XmlConv::Model::FreeText

Inherits:
String
  • Object
show all
Defined in:
lib/xmlconv/model/freetext_container.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#typeObject

Returns the value of attribute type.



7
8
9
# File 'lib/xmlconv/model/freetext_container.rb', line 7

def type
  @type
end

Instance Method Details

#<<(other) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/xmlconv/model/freetext_container.rb', line 8

def <<(other)
	if(empty? || other.empty?)
		super
	else
		super("\n" << other)
	end
end