[BioRuby-cvs] bioruby/doc Tutorial.rd,1.9,1.10

Pjotr Prins pjotr at pub.open-bio.org
Tue Jan 31 07:27:54 UTC 2006


Update of /home/repository/bioruby/bioruby/doc
In directory pub.open-bio.org:/tmp/cvs-serv25376

Modified Files:
	Tutorial.rd 
Log Message:
Better example


Index: Tutorial.rd
===================================================================
RCS file: /home/repository/bioruby/bioruby/doc/Tutorial.rd,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Tutorial.rd	1 Nov 2005 04:31:48 -0000	1.9
--- Tutorial.rd	31 Jan 2006 07:27:52 -0000	1.10
***************
*** 1,11 ****
  =begin
  
!   $Id$
  
! Copyright (C) 2001-2003 KATAYAMA Toshiaki <k at bioruby.org>
  
  Translated into English: Naohisa Goto <ng at bioruby.org>
  
! Edited by:               PjotrPrins
  
  NOTE: This page is a work in progress at this point
--- 1,14 ----
  =begin
  
! See the document in the CVS repository ./doc/((<Tutorial.rd|URL:http://cvs.open-bio.org/cgi-bin/viewcvs/viewcvs.cgi/*checkout*/bioruby/doc/Tutorial.rd?rev=HEAD&cvsroot=bioruby&content-type=text/plain>)) - for a potentially more up-to-date edition. This one was updated:
  
!   $Id$
  
  Translated into English: Naohisa Goto <ng at bioruby.org>
  
! Editor:                  PjotrPrins
! 
! Copyright (C) 2001-2003 KATAYAMA Toshiaki <k at bioruby.org>, 2005-2006 all
! others
  
  NOTE: This page is a work in progress at this point
***************
*** 115,121 ****
  
    s = 'abc'
!   puts s[0..0]
  
-   >a
  
  So when using String methods, you should subtract 1 from positions
--- 118,129 ----
  
    s = 'abc'
! 	puts s[0].chr
! 
! 	>a
! 
!   puts s[0..1]
! 
!   >ab
  
  
  So when using String methods, you should subtract 1 from positions




More information about the bioruby-cvs mailing list