Class: Settlers::Jar

Inherits:
Object
  • Object
show all
Defined in:
lib/settlers/jar.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Jar

Returns a new instance of Jar.



3
4
5
# File 'lib/settlers/jar.rb', line 3

def initialize(path)
  @path = path
end

Instance Method Details

#running(class_name) ⇒ Object



7
8
9
# File 'lib/settlers/jar.rb', line 7

def running(class_name)
  JavaCommand.new(full_path, class_name)
end