Copyright: | Copyright (C) 2001-2009 Toshiaki Katayama <k@bioruby.org>, Naohisa Goto <ng@bioruby.org> |
License: | The Ruby License |
BIORUBY_VERSION | = | [1, 4, 0].extend(Comparable).freeze | BioRuby version (Array containing Integer) | |
BIORUBY_EXTRA_VERSION | = | nil | Extra version specifier (String or nil). Existance of the value indicates pre-release version or modified version. | |
BIORUBY_VERSION_ID | = | (BIORUBY_VERSION.join('.') + BIORUBY_EXTRA_VERSION.to_s).freeze | Version identifier, including extra version string (String) Unlike BIORUBY_VERSION, it is not comparable. |
Provide BioRuby shell ‘command’ also as ‘Bio.command’ (like ChemRuby)
# File lib/bio.rb, line 306 306: def self.method_missing(*args) 307: require 'bio/shell' 308: extend Bio::Shell 309: public_class_method(*Bio::Shell.private_instance_methods) 310: if Bio.respond_to?(args.first) 311: Bio.send(*args) 312: else 313: raise NameError 314: end 315: end