rutie v0.4.0 Release Notes
Release Date: 2018-08-20 // over 5 years ago-
โ Added
- Methods
VM::yield_object
andVM::yield_splat
Enumerator
objectArray.to_enum
TryConvert
forAnyException
VM::error_info
andVM::clear_error_info
- ๐ Documentation for
VM::protect
Binding
Into<Value>
for all types whichimpl Object
Into<AnyObject>
for all types whichimpl Object
From<i64>
andInto<i64>
forInteger
From<&'static str>
forRString
eval!()
macro withbinding, filename, linenum
for optional arguments- ๐
rubysys::rproc::check_arity
for simple numeric bounds checking Symbol.to_proc
Proc.is_lambda
๐ Changed
Object.protect_send
andObject.protect_public_send
have changed the first parameter from requiringString
to&str
VM::protect
returnsResult<AnyObject, i32>
rather thanResult<Value, i32>
- ๐
PartialEq
is now implemented for Ruby objects via the==
method
- Methods