lib/vedeu/distributed/server.rb in vedeu-0.5.9 vs lib/vedeu/distributed/server.rb in vedeu-0.5.10

- old
+ new

@@ -59,11 +59,13 @@ end alias_method :drb_stop, :stop end # Eigenclass - # @param data [String|Symbol] - # @param type [Symbol] Either :keypress or :command. + # @param data [String|Symbol] The input to send to Vedeu. + # @param type [Symbol] Either :command or :keypress. Will trigger the + # respective capture mode within {Vedeu::Input}, or if not given, will + # treat the data as a keypress. # @return [void] def input(data, type = :keypress) Vedeu.trigger(:_drb_input_, data, type) end alias_method :read, :input