class Bio::Shell::Web::Results

Attributes

number[RW]
output[RW]
result[RW]
script[RW]

Public Class Methods

new() click to toggle source
# File lib/bio/shell/web.rb, line 71
def initialize
  @number = 0
  @script = []
  @result = []
  @output = []
end

Public Instance Methods

restore(number) click to toggle source
# File lib/bio/shell/web.rb, line 86
def restore(number)
  return @script[number], @result[number], @output[number]
end
store(script, result, output) click to toggle source
# File lib/bio/shell/web.rb, line 78
def store(script, result, output)
  @number += 1
  @script[@number] = script
  @result[@number] = result
  @output[@number] = output
  return @number
end