[BioRuby-cvs] bioruby/lib/bio/io/flatfile bdb.rb, 1.7, 1.8 index.rb, 1.13, 1.14 indexer.rb, 1.20, 1.21

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


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

Modified Files:
	bdb.rb index.rb indexer.rb 
Log Message:
* 'alias :foo :bar' is changed to 'alias foo bar'


Index: bdb.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/bdb.rb,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** bdb.rb	9 Sep 2005 14:35:25 -0000	1.7
--- bdb.rb	26 Sep 2005 13:00:08 -0000	1.8
***************
*** 153,157 ****
            @bdb.size
          end
!         alias :size :records
  
          # methods for writing
--- 153,157 ----
            @bdb.size
          end
!         alias size records
  
          # methods for writing

Index: index.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/index.rb,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** index.rb	25 Sep 2005 05:30:21 -0000	1.13
--- index.rb	26 Sep 2005 13:00:08 -0000	1.14
***************
*** 199,206 ****
        end
  
!       #alias :each_orig :each
!       alias :each :each_value
!       #alias :to_a_orig :to_a
!       alias :to_a :values
  
      end #class Results
--- 199,206 ----
        end
  
!       #alias each_orig each
!       alias each each_value
!       #alias to_a_orig to_a
!       alias to_a values
  
      end #class Results
***************
*** 449,453 ****
          r
        end
!       alias :check :check_all
  
        def close_all
--- 449,453 ----
          r
        end
!       alias check check_all
  
        def close_all
***************
*** 457,461 ****
          nil
        end
!       alias :close :close_all
  
        def recalc_all
--- 457,461 ----
          nil
        end
!       alias close close_all
  
        def recalc_all
***************
*** 466,470 ****
          true
        end
!       alias :recalc :recalc_all
  
      end #class FileIDs
--- 466,470 ----
          true
        end
!       alias recalc recalc_all
  
      end #class FileIDs
***************
*** 570,574 ****
            @records
          end
!         alias :size :records
  
          # methods for writing file
--- 570,574 ----
            @records
          end
!         alias size records
  
          # methods for writing file
***************
*** 844,848 ****
          values.each { |x| x.file.close }
        end
!       alias :close :close_all
  
        def search(key)
--- 844,848 ----
          values.each { |x| x.file.close }
        end
!       alias close close_all
  
        def search(key)

Index: indexer.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/io/flatfile/indexer.rb,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** indexer.rb	23 Sep 2005 15:03:02 -0000	1.20
--- indexer.rb	26 Sep 2005 13:00:08 -0000	1.21
***************
*** 52,57 ****
            self.store(x.name, x)
          end
!         #alias :each_orig :each
!         alias :each :each_value
        end
  
--- 52,57 ----
            self.store(x.name, x)
          end
!         #alias each_orig each
!         alias each each_value
        end
  



More information about the bioruby-cvs mailing list