class JRubyCommand

Wrap creation of jruby command string as a class

Attributes

args[R]
filename[R]
opts[R]
runner[R]

Public Class Methods

new(runner, args, filename) click to toggle source
# File lib/jruby_art/launcher.rb, line 54
def initialize(runner, args, filename)
  @runner = runner
  @args = args
  @filename = filename
  @opts = JRubyOpts.new.opts
end

Public Instance Methods

cmd() click to toggle source
# File lib/jruby_art/launcher.rb, line 61
def cmd
  ['jruby', opts, runner, filename, args].flatten
end