class Qpid::Proton::Types::UTFString
UTFString
lets an application explicitly state that a string of characters is to be UTF-8 encoded.
Public Class Methods
new(value)
click to toggle source
Calls superclass method
# File lib/types/strings.rb, line 46 def initialize(value) if !Qpid::Proton::Types.is_valid_utf?(value) raise RuntimeError.new("invalid UTF string") end super(value) end