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

From: sto.mar@...
Date: 2014-02-20 19:34:24 UTC
List: ruby-core #60910
Issue #9543 has been reported by Marcus Stollsteimer.

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

* Author: Marcus Stollsteimer
* Status: Open
* Priority: Normal
* Assignee: Zachary Scott
* Category: doc
* Target version: 
* ruby -v: ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
* Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
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.



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

In This Thread

Prev Next