[BioRuby-cvs] bioruby/lib/bio/util restriction_enzyme.rb, 1.15, 1.16

Katayama Toshiaki k at dev.open-bio.org
Mon Jul 16 19:28:50 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/util
In directory dev.open-bio.org:/tmp/cvs-serv21244

Modified Files:
	restriction_enzyme.rb 
Log Message:
* autoloadified


Index: restriction_enzyme.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/util/restriction_enzyme.rb,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** restriction_enzyme.rb	13 May 2007 04:08:02 -0000	1.15
--- restriction_enzyme.rb	16 Jul 2007 19:28:48 -0000	1.16
***************
*** 9,27 ****
  #
  
- require 'bio/db/rebase'
- require 'bio/util/restriction_enzyme/double_stranded'
- require 'bio/util/restriction_enzyme/single_strand'
- require 'bio/util/restriction_enzyme/cut_symbol'
- require 'bio/util/restriction_enzyme/analysis'
- 
  module Bio #:nodoc:
  
! #
! # bio/util/restriction_enzyme.rb - Digests DNA based on restriction enzyme cut patterns
! #
! # Author::    Trevor Wennblom  <mailto:trevor at corevx.com>
! # Copyright:: Copyright (c) 2005-2007 Midwinter Laboratories, LLC (http://midwinterlabs.com)
! # License::   The Ruby License
! #
  # = Description
  # 
--- 9,16 ----
  #
  
  module Bio #:nodoc:
  
!   autoload :REBASE, 'bio/db/rebase'
! 
  # = Description
  # 
***************
*** 124,129 ****
  # * Circular DNA cutting
  #
!   
! class Bio::RestrictionEnzyme
    include CutSymbol
    extend CutSymbol
--- 113,129 ----
  # * Circular DNA cutting
  #
! 
! class RestrictionEnzyme
! 
!   #require 'bio/util/restriction_enzyme/cut_symbol'
! 
!   autoload :CutSymbol,               'bio/util/restriction_enzyme/cut_symbol'
!   autoload :StringFormatting,        'bio/util/restriction_enzyme/string_formatting'
!   autoload :SingleStrand,            'bio/util/restriction_enzyme/single_strand'
!   autoload :SingleStrandComplement,  'bio/util/restriction_enzyme/single_strand_complement'
!   autoload :DoubleStranded,          'bio/util/restriction_enzyme/double_stranded'
!   autoload :Analysis,                'bio/util/restriction_enzyme/analysis'
!   autoload :Range,                   'bio/util/restriction_enzyme/range/sequence_range'
! 
    include CutSymbol
    extend CutSymbol
***************
*** 226,228 ****
    end
  end # RestrictionEnzyme
! end # Bio
\ No newline at end of file
--- 226,228 ----
    end
  end # RestrictionEnzyme
! end # Bio




More information about the bioruby-cvs mailing list