Class: XmlConv::Model::FreeText
- Inherits:
-
String
- Object
- String
- XmlConv::Model::FreeText
- Defined in:
- lib/xmlconv/model/freetext_container.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#type ⇒ Object
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 |