class Encoding

Constants

ASCII_8BIT
UTF_8

Public Class Methods

new(name) click to toggle source
# File lib/mqttbridge/patches/string_encoding.rb, line 20
def initialize(name)
  @name = name
end

Public Instance Methods

name() click to toggle source
# File lib/mqttbridge/patches/string_encoding.rb, line 28
def name
  @name
end
to_s() click to toggle source
# File lib/mqttbridge/patches/string_encoding.rb, line 24
def to_s
  @name
end