Class: AndroidAdb::Package

Inherits:
Object
  • Object
show all
Defined in:
lib/android-adb/Package.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, apk) ⇒ Package

Contructs an Package object.

Parameters:

  • name (String)

    The name of the package.

  • apk (String)

    The path of the installed apk file.



13
14
15
16
# File 'lib/android-adb/Package.rb', line 13

def initialize(name, apk)
  @name = name
  @apk = apk
end

Instance Attribute Details

#apkObject

Returns the value of attribute apk.



7
8
9
# File 'lib/android-adb/Package.rb', line 7

def apk
  @apk
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/android-adb/Package.rb', line 7

def name
  @name
end