Class: Ambling::Data::Message
- Defined in:
- lib/ambling/data.rb
Overview
Build the XML for a message slightly differently
Instance Attribute Summary
Attributes inherited from BaseValue
Instance Method Summary collapse
Methods inherited from BaseValue
#initialize, #tag_name, #to_xml
Constructor Details
This class inherits a constructor from Ambling::Data::BaseValue
Instance Method Details
#build_xml(builder) ⇒ Object
47 48 49 |
# File 'lib/ambling/data.rb', line 47 def build_xml(builder) builder.(@attributes){|| .cdata! @value} end |