unsafe fn send(&self, method: &str, arguments: &[AnyObject]) -> AnyObject {
        let arguments = util::arguments_to_values(arguments);
        let result = vm::call_method(self.value(), method, &arguments);

        AnyObject::from(result)
    }
/// Calls a given method on an object similarly to Ruby `Object#send` method
///
/// # Examples
///
/// ```
/// use rutie::{Array, Fixnum, Object, RString, VM};
/// # VM::init();
///
/// let array = Array::new().push(Fixnum::new(1));
/// let array_string = unsafe { array.send("to_s", &[]) }
///                                  .try_convert_to::<RString>()
///                                  .unwrap();
///
/// assert_eq!(array_string.to_str(), "[1]");
/// ```
Calls a given method on an object similarly to Ruby `Object#send` method
Calls a given method on an object similarly to Ruby ` Object#send ` method
unsafe fn send(&self, method: &str, arguments: &[AnyObject]) -> AnyObject {
        let arguments = util::arguments_to_values(arguments);
        let result = vm::call_method(self.value(), method, &arguments);
        AnyObject::from(result)
    }
unsafe fn send ( & self , method : & str , arguments : & [ AnyObject ] ) -> AnyObject { let arguments = util :: arguments_to_values ( arguments ) ; let result = vm :: call_method ( self . value ( ) , method , & arguments ) ; AnyObject :: from ( result ) }
Calls a given method on an object similarly to Ruby `Object#send` method
Calls a given method on an object similarly to Ruby ` Object#send ` method
&self
method
&str
arguments
&[AnyObject]
&self
method
&str
arguments
&[AnyObject]
examples
```
use rutie::{Array, Fixnum, Object, RString, VM}.
` ` ` use rutie :: { Array Fixnum Object RString VM } .
vm::init();
let array = Array::new().push(Fixnum::new(1));
let array_string = unsafe { array.send("to_s", &[]) }
.try_convert_to::()
.unwrap().


let array = Array :: new () . push ( Fixnum :: new ( 1 )) ; let array_string = unsafe { array . send ( " to_s " & [] ) } . try_convert_to :: () . unwrap () .