[ruby-core:63576] [ruby-trunk - Bug #9543] [Doc] Fix example in GServer documentation (lib/gserver)

From: usa@...
Date: 2014-07-07 03:56:18 UTC
List: ruby-core #63576
Issue #9543 has been updated by Usaku NAKAMURA.

Backport changed from 2.0.0: REQUIRED, 2.1: DONE to 2.0.0: DONE, 2.1: DONE

backported into `ruby_2_0_0` at r46746.

----------------------------------------
Bug #9543: [Doc] Fix example in GServer documentation (lib/gserver)
https://bugs.ruby-lang.org/issues/9543#change-47628

* Author: Marcus Stollsteimer
* Status: Closed
* Priority: Normal
* Assignee: Zachary Scott
* Category: doc
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
* Backport: 2.0.0: DONE, 2.1: DONE
----------------------------------------
The code example does not match its description: the server should return time in seconds since 1970.

Patch appended (Time.now.to_s -> Time.now.to_i).

Also fixes some minor typos and inconsistencies.

---Files--------------------------------
doc_lib_gserver.patch (1.78 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next