Class: RunnableWrapper
- Defined in:
- lib/droiuby/wrappers/runnable_wrapper.rb
Instance Method Summary collapse
-
#initialize(block) ⇒ RunnableWrapper
constructor
A new instance of RunnableWrapper.
- #run ⇒ Object
- #to_native ⇒ Object
Constructor Details
#initialize(block) ⇒ RunnableWrapper
Returns a new instance of RunnableWrapper.
3 4 5 6 |
# File 'lib/droiuby/wrappers/runnable_wrapper.rb', line 3 def initialize(block) @block = block @native = Java::com.droiuby.wrappers.RunnableRubyWrapper.new(_execution_bundle,self) end |