[BioRuby-cvs] bioruby/lib/bio alignment.rb, 1.8, 1.9 location.rb, 0.19, 0.20 sequence.rb, 0.43, 0.44

Katayama Toshiaki k at pub.open-bio.org
Mon Sep 26 09:00:06 EDT 2005


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

Modified Files:
	alignment.rb location.rb sequence.rb 
Log Message:
* 'alias :foo :bar' is changed to 'alias foo bar'


Index: sequence.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/sequence.rb,v
retrieving revision 0.43
retrieving revision 0.44
diff -C2 -d -r0.43 -r0.44
*** sequence.rb	23 Sep 2005 14:27:59 -0000	0.43
--- sequence.rb	26 Sep 2005 13:00:04 -0000	0.44
***************
*** 37,41 ****
        String.new(self)
      end
!     alias :to_str :to_s
  
      def seq
--- 37,41 ----
        String.new(self)
      end
!     alias to_str to_s
  
      def seq
***************
*** 47,56 ****
        self
      end
!     alias :seq! :normalize!
  
      def <<(*arg)
        super(self.class.new(*arg))
      end
!     alias :concat :<<
  
      def +(*arg)
--- 47,56 ----
        self
      end
!     alias seq! normalize!
  
      def <<(*arg)
        super(self.class.new(*arg))
      end
!     alias concat <<
  
      def +(*arg)

Index: location.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/location.rb,v
retrieving revision 0.19
retrieving revision 0.20
diff -C2 -d -r0.19 -r0.20
*** location.rb	8 Sep 2005 01:22:08 -0000	0.19
--- location.rb	26 Sep 2005 13:00:04 -0000	0.20
***************
*** 153,157 ****
        len
      end
!     alias :size :length
  
      def relative(n, type = nil)
--- 153,157 ----
        len
      end
!     alias size length
  
      def relative(n, type = nil)

Index: alignment.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/alignment.rb,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** alignment.rb	8 Sep 2005 01:22:08 -0000	1.8
--- alignment.rb	26 Sep 2005 13:00:04 -0000	1.9
***************
*** 251,255 ****
        end
      end
!     alias :each_seq :each
  
      def each_pair
--- 251,255 ----
        end
      end
!     alias each_seq each
  
      def each_pair
***************
*** 587,591 ****
        cseq
      end
!     alias :consensus :consensus_string
  
      IUPAC_NUC = [
--- 587,591 ----
        cseq
      end
!     alias consensus consensus_string
  
      IUPAC_NUC = [



More information about the bioruby-cvs mailing list