lib/vindetta/decoder/result.rb in vindetta-0.14.0 vs lib/vindetta/decoder/result.rb in vindetta-0.15.0
- old
+ new
@@ -23,10 +23,10 @@
def initialize(variables)
@variables = variables
end
def inspect
- "#<Vindetta::Decoder::Response:#{"0x00%x" % (object_id << 1)}>"
+ "#<Vindetta::Decoder::Response:#{format('0x00%x', (object_id << 1))}>"
end
def to_json
self.class.decoded_attributes.map do |a|
[a, send(a)]