Class: IntentWrapper
- Includes:
- Droiuby::ViewHelper
- Defined in:
- lib/droiuby/wrappers/intent_wrapper.rb
Instance Method Summary collapse
- #get_string_extra(name) ⇒ Object
-
#initialize(intent) ⇒ IntentWrapper
constructor
A new instance of IntentWrapper.
- #native ⇒ Object
Methods included from Droiuby::ViewHelper
Constructor Details
#initialize(intent) ⇒ IntentWrapper
Returns a new instance of IntentWrapper.
7 8 9 10 11 12 13 |
# File 'lib/droiuby/wrappers/intent_wrapper.rb', line 7 def initialize(intent) if (intent.nil?) @native = Java::android.content.Intent.new else @native = intent end end |