Project

General

Profile

Bug #9543

[Doc] Fix example in GServer documentation (lib/gserver)

Added by stomar (Marcus Stollsteimer) over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
[ruby-core:60910]

Description

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) doc_lib_gserver.patch stomar (Marcus Stollsteimer), 02/20/2014 07:35 PM

Updated by zzak (Zachary Scott) over 6 years ago

  • Status changed from Open to Assigned

Thanks for the patch!

Updated by zzak (Zachary Scott) over 6 years ago

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

Applied in changeset r45344.


Updated by usa (Usaku NAKAMURA) about 6 years ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: REQUIRED, 2.1: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) about 6 years ago

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

Backported into ruby_2_1 branch at r46719.

Updated by usa (Usaku NAKAMURA) about 6 years ago

  • 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.

Also available in: Atom PDF