class String

Public Instance Methods

+(other) click to toggle source
# File lib/montoc.rb, line 393
def +(other)
        if other.kind_of? Montoc::DocBox
                new_text = self + other.text
                return new_text
        end
        result = self.dup
        result << other.to_s
        return result
end