[BioRuby-cvs] bioruby/lib/bio/appl/targetp report.rb,1.4,1.5

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


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

Modified Files:
	report.rb 
Log Message:
* 'alias :foo :bar' is changed to 'alias foo bar'


Index: report.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/appl/targetp/report.rb,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** report.rb	8 Sep 2005 01:22:10 -0000	1.4
--- report.rb	26 Sep 2005 13:00:05 -0000	1.5
***************
*** 43,52 ****
          :prediction, :cutoff
  
!       alias :pred   :prediction
  
        def name
          @prediction['Name']
        end
!       alias :entry_id :name 
  
        def query_len
--- 43,52 ----
          :prediction, :cutoff
  
!       alias pred prediction
  
        def name
          @prediction['Name']
        end
!       alias entry_id name 
  
        def query_len
***************
*** 57,61 ****
          end
        end
!       alias :length :query_len
  
        def loc
--- 57,61 ----
          end
        end
!       alias length query_len
  
        def loc
***************
*** 131,135 ****
    begin
      require 'pp'
!     alias :p :pp 
    rescue LoadError
    end
--- 131,135 ----
    begin
      require 'pp'
!     alias p pp 
    rescue LoadError
    end



More information about the bioruby-cvs mailing list