Class: Headdesk::Apk::Method
- Inherits:
-
Object
- Object
- Headdesk::Apk::Method
- Defined in:
- lib/headdesk/apk/method.rb
Overview
A Smali bytecode method
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(matchdata) ⇒ Method
constructor
A new instance of Method.
Constructor Details
#initialize(matchdata) ⇒ Method
Returns a new instance of Method.
11 12 13 |
# File 'lib/headdesk/apk/method.rb', line 11 def initialize(matchdata) @code = matchdata[0] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
9 10 11 |
# File 'lib/headdesk/apk/method.rb', line 9 def code @code end |