rutie v0.4.0 Release Notes

Release Date: 2018-08-20 // over 5 years ago
  • โž• Added

    • Methods VM::yield_object and VM::yield_splat
    • Enumerator object
    • Array.to_enum
    • TryConvert for AnyException
    • VM::error_info and VM::clear_error_info
    • ๐Ÿ“š Documentation for VM::protect
    • Binding
    • Into<Value> for all types which impl Object
    • Into<AnyObject> for all types which impl Object
    • From<i64> and Into<i64> for Integer
    • From<&'static str> for RString
    • eval!() macro with binding, filename, linenum for optional arguments
    • ๐Ÿ’Ž rubysys::rproc::check_arity for simple numeric bounds checking
    • Symbol.to_proc
    • Proc.is_lambda

    ๐Ÿ”„ Changed

    • Object.protect_send and Object.protect_public_send have changed the first parameter from requiring String to &str
    • VM::protect returns Result<AnyObject, i32> rather than Result<Value, i32>
    • ๐Ÿ’Ž PartialEq is now implemented for Ruby objects via the == method