Class: Headdesk::Apk::Method

Inherits:
Object
  • Object
show all
Defined in:
lib/headdesk/apk/method.rb

Overview

A Smali bytecode method

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#codeObject (readonly)

Returns the value of attribute code.



9
10
11
# File 'lib/headdesk/apk/method.rb', line 9

def code
  @code
end