diff options
Diffstat (limited to 'lib/json/add/complex.rb')
-rw-r--r-- | lib/json/add/complex.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/json/add/complex.rb b/lib/json/add/complex.rb index 28ef734..4d977e7 100644 --- a/lib/json/add/complex.rb +++ b/lib/json/add/complex.rb @@ -23,7 +23,7 @@ class Complex 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 |