Project

General

Profile

Bug #9543

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

Added by stomar (Marcus Stollsteimer) over 5 years ago. Updated almost 5 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

Associated revisions

Revision 1cefad43
Added by zzak (Zachary Scott) over 5 years ago

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 45344
Added by zzak (Zachary Scott) over 5 years ago

Revision 45344
Added by zzak (Zachary Scott) over 5 years ago

Revision 45344
Added by zzak (Zachary Scott) over 5 years ago

Revision 45344
Added by zzak (Zachary Scott) over 5 years ago

Revision 45344
Added by zzak (Zachary Scott) over 5 years ago

Revision 45344
Added by zzak (Zachary Scott) over 5 years ago

Revision 1fe220dc
Added by nagachika (Tomoyuki Chikanaga) almost 5 years ago

merge revision(s) r45344: [Backport #9543]

    * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 46719
Added by nagachika (Tomoyuki Chikanaga) almost 5 years ago

merge revision(s) r45344: [Backport #9543]

* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]

Revision d2d9d6ef
Added by usa (Usaku NAKAMURA) almost 5 years ago

merge revision(s) 45344: [Backport #9543]

    * lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 46746
Added by usa (Usaku NAKAMURA) almost 5 years ago

merge revision(s) 45344: [Backport #9543]

* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543]

History

Updated by zzak (Zachary Scott) over 5 years ago

  • Status changed from Open to Assigned

Thanks for the patch!

Updated by zzak (Zachary Scott) over 5 years ago

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

Applied in changeset r45344.


Updated by usa (Usaku NAKAMURA) almost 5 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) almost 5 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) almost 5 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