Method: RScript#initialize

Defined in:
lib/rscript.rb

#initialize(opt = {}) ⇒ RScript

Returns a new instance of RScript.



37
38
39
40
41
# File 'lib/rscript.rb', line 37

def initialize(opt={})
  @rsf_cache = HashCache.new({cache: 5}.merge(opt))
  @xthreads = XThreads.new
  @id = 0
end