Sha256: a42e1fda02d15f8b9c9f2e7b87059ffe4841b2e3e906684abbdb5a39a456e9f6

Contents?: true

Size: 264 Bytes

Versions: 68

Compression:

Stored size: 264 Bytes

Contents

require_relative 'abstract_command_handler'

class CastingHandler < AbstractCommandHandler
  def process(command)
    begin
      raise "Explicit cast is forbidden in dynamically typed languages"
    rescue Exception => e
      return e
    end
  end
end

Version data entries

68 entries across 34 versions & 1 rubygems

Version Path
javonet-ruby-sdk-2.4.9 lib/javonet-ruby-sdk/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.9 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.8 lib/javonet-ruby-sdk/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.8 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.7 lib/javonet-ruby-sdk/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.7 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.6 lib/javonet-ruby-sdk/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.6 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/casting_handler.rb
javonet-ruby-sdk-2.4.5 lib/javonet-ruby-sdk/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.5 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.4 lib/javonet-ruby-sdk/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.4 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.3 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.3 lib/javonet-ruby-sdk/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.2 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.4.2 lib/javonet-ruby-sdk/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.3.0 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.3.0 lib/javonet-ruby-sdk/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.2.0 lib/javonet-ruby-sdk/core/handler/command_handler/casting_handler.rb
javonet-ruby-sdk-2.2.0 lib/javonet-ruby-sdk/Binaries/Ruby/Windows/X64/core/handler/command_handler/casting_handler.rb