Copyright: | Copyright (C) 2001-2009 Toshiaki Katayama <k@bioruby.org>, Naohisa Goto <ng@bioruby.org> |
License: | The Ruby License |
BIORUBY_VERSION | = | [1, 4, 2].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 309 309: def self.method_missing(*args) 310: require 'bio/shell' 311: extend Bio::Shell 312: public_class_method(*Bio::Shell.private_instance_methods) 313: if Bio.respond_to?(args.first) 314: Bio.send(*args) 315: else 316: raise NameError 317: end 318: end