Class: UnJar

Inherits:
JavaTask show all
Defined in:
lib/jake/unjar.rb

Instance Attribute Summary collapse

Attributes inherited from JavaTask

#base_dir

Instance Method Summary collapse

Methods inherited from JavaTask

#execute, in

Instance Attribute Details

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/jake/unjar.rb', line 2

def name
  @name
end

#targetObject

Returns the value of attribute target.



2
3
4
# File 'lib/jake/unjar.rb', line 2

def target
  @target
end

Instance Method Details

#commandObject



4
5
6
# File 'lib/jake/unjar.rb', line 4

def command
    "unzip -n #{@name} -d #{@target}"
end