module RubymentUnderDeprecationModule

# begin_documentation This module receives only functions that are deprecated. They are still kept in Rubyment, but they won't receive more updates, because there is a different more modern way of achieving the same results. However, functions here are still under active use by some official functions in #RubymentMaintainedModule, which were not yet updated with the new modern way of achieving the same results. # end_documentation

Public Instance Methods

test__shell_send_array__main(args=[]) click to toggle source

experimental stuff coming. usage example: ./rubyment.rb invoke_double p test__shell_send_array__main “tinga” “” sub in EN

“tENga”

will be deprecated by send_array_base

./rubyment.rb invoke_double p experiment__send_array_base 300 “bytes”

[51, 48, 48], nil, nil

only works with strings by now

# File lib/rubyment.rb, line 4419
def test__shell_send_array__main args=[]
  p args
  object_to_send,
    reserved,
    method_to_send,
    *args_to_send = args
  object_to_send = object_to_send.nne
  method_to_send = method_to_send.nne :main
  object_to_send && (
    object_to_send.send method_to_send, *args_to_send
  ) || (!object_to_send) && (
    send method_to_send, args_to_send
  )
end