class Bio::Shell::Script

Public Class Methods

new(script) click to toggle source
# File lib/bio/shell/script.rb, line 15
def initialize(script)
  Bio::Shell.cache[:binding] = TOPLEVEL_BINDING
  Bio::Shell.load_session
  eval(File.read(script), TOPLEVEL_BINDING)
  exit
end