lib/ronin/formatting/extensions/http/string.rb in ronin-0.1.4 vs lib/ronin/formatting/extensions/http/string.rb in ronin-0.2.0

- old
+ new

@@ -73,9 +73,9 @@ # # "hello".format_http # # => "hello" # def format_http(options={}) - format_bytes(options) { |c| sprintf("%%%x",c) } + format_bytes(options) { |b| "%%%x" % b } end end