Class: UnJar
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#target ⇒ Object
Returns the value of attribute target.
Attributes inherited from JavaTask
Instance Method Summary collapse
Methods inherited from JavaTask
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/jake/unjar.rb', line 2 def name @name end |
#target ⇒ Object
Returns the value of attribute target.
2 3 4 |
# File 'lib/jake/unjar.rb', line 2 def target @target end |
Instance Method Details
#command ⇒ Object
4 5 6 |
# File 'lib/jake/unjar.rb', line 4 def command "unzip -n #{@name} -d #{@target}" end |