lib/mqtt/patches/string_encoding.rb in mqtt-0.3.1 vs lib/mqtt/patches/string_encoding.rb in mqtt-0.4.0
- old
+ new
@@ -22,9 +22,13 @@
end
def to_s
@name
end
+
+ def name
+ @name
+ end
UTF_8 = Encoding.new("UTF-8")
ASCII_8BIT = Encoding.new("ASCII-8BIT")
end