Sha256: 5be184d23bb6de666291ff4bfefdd1293d1dbc5cacd63b00ac8c3124e3322c90
Contents?: true
Size: 476 Bytes
Versions: 29
Compression:
Stored size: 476 Bytes
Contents
# # = bio/shell/script.rb - script mode for the BioRuby shell # # Copyright:: Copyright (C) 2006 # Toshiaki Katayama <k@bioruby.org> # License:: The Ruby License # # $Id: script.rb,v 1.3 2007/04/05 23:35:41 trevor Exp $ # module Bio::Shell class Script def initialize(script) Bio::Shell.cache[:binding] = TOPLEVEL_BINDING Bio::Shell.load_session eval(File.read(script), TOPLEVEL_BINDING) exit end end # Script end
Version data entries
29 entries across 29 versions & 6 rubygems