Project

General

Profile

Actions

Bug #2075

closed

ext/json/ext/generator/generator.c のドキュメントへの小さなパッチ

Added by okkez (okkez _) almost 16 years ago. Updated about 14 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-09-09 trunk 24823) [x86_64-linux]
Backport:

Description

=begin
コードを見た感じでは call-seq がおかしいと思ったのでパッチを書いてみました。
よろしくお願いします。

Index: ext/json/ext/generator/generator.c

--- ext/json/ext/generator/generator.c (revision 24824)
+++ ext/json/ext/generator/generator.c (working copy)
@@ -409,7 +409,7 @@
}

/*

    • call-seq: to_json(state = nil, depth = 0)
    • call-seq: to_json(*)
    • Returns a JSON string for true: 'true'.
      */
      @@ -421,7 +421,7 @@
      }

/*

    • call-seq: to_json(state = nil, depth = 0)
    • call-seq: to_json(*)
    • Returns a JSON string for false: 'false'.
      */
      @@ -433,7 +433,7 @@
      }

/*

    • call-seq: to_json(state = nil, depth = 0)
    • call-seq: to_json(*)
    */
    static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self)
    =end
Actions #1

Updated by naruse (Yui NARUSE) over 15 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r25114.
=end

Actions

Also available in: Atom PDF

Like0
Like0