[BioRuby-cvs] bioruby/lib/bio/data aa.rb, 0.11, 0.12 codontable.rb, 0.12, 0.13 na.rb, 0.13, 0.14

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


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

Modified Files:
	aa.rb codontable.rb na.rb 
Log Message:
* 'alias :foo :bar' is changed to 'alias foo bar'


Index: aa.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/data/aa.rb,v
retrieving revision 0.11
retrieving revision 0.12
diff -C2 -d -r0.11 -r0.12
*** aa.rb	31 Aug 2005 07:22:53 -0000	0.11
--- aa.rb	26 Sep 2005 13:00:06 -0000	0.12
***************
*** 140,144 ****
          Names
        end
!       alias :aa :names
  
        def name(x)
--- 140,144 ----
          Names
        end
!       alias aa names
  
        def name(x)
***************
*** 161,165 ****
          end
        end
!       alias :one :to_1
  
        def to_3(x)
--- 161,165 ----
          end
        end
!       alias one to_1
  
        def to_3(x)
***************
*** 173,177 ****
          end
        end
!       alias :three :to_3
  
        def one2three(x)
--- 173,177 ----
          end
        end
!       alias three to_3
  
        def one2three(x)
***************
*** 259,263 ****
  
      # override when used as an instance method to improve performance
!     alias :orig_reverse :reverse
      def reverse
        unless @reverse
--- 259,263 ----
  
      # override when used as an instance method to improve performance
!     alias orig_reverse reverse
      def reverse
        unless @reverse

Index: na.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/data/na.rb,v
retrieving revision 0.13
retrieving revision 0.14
diff -C2 -d -r0.13 -r0.14
*** na.rb	10 Aug 2005 12:53:02 -0000	0.13
--- na.rb	26 Sep 2005 13:00:06 -0000	0.14
***************
*** 118,122 ****
          Names
        end
!       alias :na :names
  
        def name(x)
--- 118,122 ----
          Names
        end
!       alias na names
  
        def name(x)

Index: codontable.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/data/codontable.rb,v
retrieving revision 0.12
retrieving revision 0.13
diff -C2 -d -r0.12 -r0.13
*** codontable.rb	23 Aug 2004 23:51:29 -0000	0.12
--- codontable.rb	26 Sep 2005 13:00:06 -0000	0.13
***************
*** 673,677 ****
      begin
        require 'pp'
!       alias :p :pp
      rescue LoadError
      end
--- 673,677 ----
      begin
        require 'pp'
!       alias p pp
      rescue LoadError
      end



More information about the bioruby-cvs mailing list