We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87c0229 commit 4356175Copy full SHA for 4356175
1 file changed
lib/tnetstrings.rb
@@ -27,8 +27,8 @@ def self.parse(data)
27
when '~'
28
raise "Payload must be 0 length for null." unless payload.length == 0
29
nil
30
- else
31
- raise "Invalid payload type: #{payload_type}"
+ else
+ raise "Invalid payload type: #{payload_type}"
32
end
33
34
[ value, remain ]
0 commit comments