Class: ArrayHandler

Inherits:
AbstractCommandHandler show all
Defined in:
lib/javonet-ruby-sdk/core/handler/array_handler.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/core/handler/array_handler.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/MacOs/X64/core/handler/array_handler.rb,
lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/array_handler.rb

Instance Method Summary collapse

Methods inherited from AbstractCommandHandler

#handle_command, #iterate

Instance Method Details

#process(command) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/javonet-ruby-sdk/core/handler/array_handler.rb', line 4

def process(command)
  begin
    processedArray = command.payload
    return processedArray
  rescue Exception => e
    return e
  end
end