Class List Method List File List

# Class: VertxShell::SignalHandler

Inherits:
  Object
  - Object
  - VertxShell::SignalHandler
  show all
Defined in:
  /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-shell/signal_handler.rb

## Overview

@author Julien Viet

## Instance Method Summary (collapse)

- - (true, false) deliver?(key = nil)

## Instance Method Details

### - (`true`, `false`) deliver?(key = nil)

Parameters:

- key (`Fixnum`) (defaults to: `nil`)

Returns:

- (`true`, `false`)

Raises:

- (`ArgumentError`)

    18
    19
    20
    21
    22
    23
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-shell/signal_handler.rb', line 18

    def deliver?(key=nil)
      if key.class == Fixnum && !block_given?
        return @j_del.java_method(:deliver, [Java::int.java_class]).call(key)
      end
      raise ArgumentError, "Invalid arguments when calling deliver?(key)"
    end