Class: Dex2jar::Command
- Inherits:
-
Object
- Object
- Dex2jar::Command
- Defined in:
- lib/dex2jar/command.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(options, files) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(options, files) ⇒ Command
Returns a new instance of Command.
3 4 5 6 |
# File 'lib/dex2jar/command.rb', line 3 def initialize(, files) @options = @files = files end |
Instance Method Details
#execute ⇒ Object
8 9 10 |
# File 'lib/dex2jar/command.rb', line 8 def execute `#{dex2jar_command} #{} #{files.join(' ')}` end |