Class: Settlers::Jar
- Inherits:
-
Object
- Object
- Settlers::Jar
- Defined in:
- lib/settlers/jar.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ Jar
constructor
A new instance of Jar.
- #running(class_name) ⇒ Object
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 |