Method: Vedeu::Distributed::Server#input

Defined in:
lib/vedeu/distributed/server.rb

#input(data, type = :keypress) ⇒ void Also known as: read

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

This method returns an undefined value.

Parameters:

  • data (String|Symbol)

    The input to send to Vedeu.

  • type (Symbol) (defaults to: :keypress)

    Either :command or :keypress. Will trigger the respective capture mode within Input::Input, or if not given, will treat the data as a keypress.



77
78
79
# File 'lib/vedeu/distributed/server.rb', line 77

def input(data, type = :keypress)
  Vedeu.trigger(:_drb_input_, data, type)
end