lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/command.rb in javonet-ruby-sdk-2.3.0 vs lib/javonet-ruby-sdk/Binaries/Ruby/Linux/X64/utils/command.rb in javonet-ruby-sdk-2.4.2

- old
+ new

@@ -1,6 +1,7 @@ require_relative 'runtime_name' +require_relative 'runtime_name_handler' require_relative 'command_type' class Command def initialize(runtime_name, command_type, payload) @runtime_name = runtime_name @@ -55,10 +56,10 @@ return Command.new(@runtime_name, @command_type, merged_payload) end end def to_string - 'Runtime Library: ' + RuntimeName.get_name(@runtime_name).to_s + ' ' + 'Ruby command type: ' + CommandType.get_name(@command_type).to_s + ' ' + 'with parameters: ' + @payload.to_s + 'Runtime Library: ' + RuntimeNameHandler.get_name(@runtime_name) + ' ' + 'Ruby command type: ' + CommandType.get_name(@command_type).to_s + ' ' + 'with parameters: ' + @payload.to_s end def eql?(other) @is_equal = false if self == other \ No newline at end of file