Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove Bio.method_missing because it is broken.

 * Bio.method_missing, the hook of undefined methods, providing
   shortcut of Bio::Shell methods, is now removed, because it does
   not work correctly, and because the use of method_missing should
   normally be avoided unless it is really necessary. Alternatively,
   use Bio::Shell.xxxxx (xxxxx is a method name).
  • Loading branch information...
commit 3de19895140502898c77fc83d9ad6fae47331763 1 parent a358584
@ngoto ngoto authored
Showing with 0 additions and 13 deletions.
  1. +0 −13 lib/bio.rb
View
13 lib/bio.rb
@@ -300,18 +300,5 @@ module Phylip
### Service libraries
autoload :Command, 'bio/command'
- ### Provide BioRuby shell 'command' also as 'Bio.command' (like ChemRuby)
-
- def self.method_missing(*args)
- require 'bio/shell'
- extend Bio::Shell
- public_class_method(*Bio::Shell.private_instance_methods)
- if Bio.respond_to?(args.first)
- Bio.send(*args)
- else
- raise NameError
- end
- end
-
end
Please sign in to comment.
Something went wrong with that request. Please try again.