0.5.3
Magnus 0.5.3 is a patch release, with 1 addition.
Added Value::as_value
method that can be called on any Ruby type (as all Ruby types deref to Value
) as a forward-compatible way to convert a Ruby type to Value
.
This method should be prefered over dereferencing (e.g. *example
), and the From
/Into
traits (e.g. Value::from(example)
and let v: Value = example.into()
) as in future versions of Magnus Ruby types will not dereference to Value
(Value
's methods will move to a trait) and From
/Into
will not be implemented.