lib/bio/appl/blast/ncbioptions.rb in bio-1.4.2 vs lib/bio/appl/blast/ncbioptions.rb in bio-1.4.3
- old
+ new
@@ -11,15 +11,18 @@
# Bio::Blast::NCBIOptions is a class to parse and store NCBI Tools-style
# command-line options.
# It is internally used in Bio::Blast and some other classes.
#
-require 'bio/appl/blast'
require 'shellwords'
-class Bio::Blast
+module Bio
+require 'bio/appl/blast' unless const_defined?(:Blast)
+
+class Blast
+
# A class to parse and store NCBI-tools style command-line options.
# It is internally used in Bio::Blast and some other classes.
#
class NCBIOptions
@@ -215,6 +218,8 @@
newopts.options
end
end #class NCBIOptions
-end #class Bio::Blast
+end #class Blast
+
+end #module Bio