Class: Dryrun::AndroidUtils
- Inherits:
-
Object
- Object
- Dryrun::AndroidUtils
- Defined in:
- lib/dryrun/android_utils.rb
Class Method Summary collapse
Class Method Details
.clear_app_data(package) ⇒ Object
13 14 15 |
# File 'lib/dryrun/android_utils.rb', line 13 def self.clear_app_data(package) DryrunUtils.run_adb("shell pm clear #{package}") end |
.pretty_run(execute_line, package) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/dryrun/android_utils.rb', line 6 def self.pretty_run(execute_line, package) puts "Installing #{package.green}...\n" puts "executing: #{execute_line.green}\n" DryrunUtils.run_adb("shell #{execute_line}") end |