Sha256: d80e6fcd565835df761aff2ee339e175af030c57a3a535925ef8d16ce2c99158

Contents?: true

Size: 535 Bytes

Versions: 17

Compression:

Stored size: 535 Bytes

Contents

module Droiuby
  module Wrappers
    module Listeners
      class OnWebConsoleReadyListener
        
        def initialize(execution_bundle, auto_wrap_block)
          @auto_wrap_block = auto_wrap_block
          @native = Java::com.droiuby.wrappers::OnWebConsoleReadyRubyWrapper.new(execution_bundle, self)
        end
        
        def onReady(httpd)
          on_ui_thread {
            @auto_wrap_block.call(httpd)
          }
        end
        
        def to_native
          @native
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
droiuby-0.3.6 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.3.5 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.3.4 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.3.3 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.3.2 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.3.1 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.3.0 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.9 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.8 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.7 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.6 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.5 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.4 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.3 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.2 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.1 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb
droiuby-0.2.0 lib/droiuby/wrappers/listeners/on_web_console_ready_listener.rb