lib/json/add/complex.rb in json_pure-2.2.0 vs lib/json/add/complex.rb in json_pure-2.3.0

- old
+ new

@@ -21,9 +21,9 @@ 'i' => imag, } end # Stores class name (Complex) along with real value <tt>r</tt> and imaginary value <tt>i</tt> as JSON string - def to_json(*) - as_json.to_json + def to_json(*args) + as_json.to_json(*args) end end