class String

Public Class Methods

load_from_xml(xml, options={:mapping=>:_default}) click to toggle source
# File lib/xml/mapping/core_classes_mapping.rb, line 2
def self.load_from_xml(xml, options={:mapping=>:_default})
  xml.text
end

Public Instance Methods

fill_into_xml(xml, options={:mapping=>:_default}) click to toggle source
# File lib/xml/mapping/core_classes_mapping.rb, line 6
def fill_into_xml(xml, options={:mapping=>:_default})
  xml.text = self
end
text() click to toggle source
# File lib/xml/mapping/core_classes_mapping.rb, line 10
def text
  self
end