Method: Closure::BeanShell#initialize
- Defined in:
- lib/closure/beanshell.rb
#initialize(classpath = []) ⇒ BeanShell
Returns a new instance of BeanShell.
26 27 28 29 30 |
# File 'lib/closure/beanshell.rb', line 26 def initialize(classpath=[]) @semaphore = Mutex.new @classpath = classpath @@pipe ||= nil end |