Dmitry Gritsay

Results 10 issues of Dmitry Gritsay

The following methods should take `self` by value, because technically they return the same Ruby objects converted to another Rust type. - [ ] `Object::to` ```rust Object::to(&self) -> T ```...

T-ruru
breaking-change
A-type-conversions

```rust handle_exceptions! { begin { // ... } rescue TypeError => e { // ... } rescue ArgumentError => e { // ... } rescue => e { // StandardError...

in progress
A-exceptions
T-ruru

Change `class!`, `methods!` and `unsafe_methods!` macro to have a better API for defining Ruby classes (needs discussion and decision).

T-ruru
I-needs-decision
A-class-definition

- [ ] `rb_rescue` - [ ] `rb_ensure` - [ ] `rb_jump_tag` ?

in progress
T-ruby-sys
A-exceptions

Add basic support for `Module`s.

T-ruby-sys
A-modules

Consider the following example: ```rust let string = RString::new("Some string"); let mut array = Array::new(); // Moves `string` into `array` similarly to `vec.push()` in Rust array.push(string); // ... `string` cannot...

T-ruru
I-needs-decision
A-api-compatibility

`RbConfig::CONFIG` provides all the required information for linking with static libraries. But Cargo does not allow to use all the flags, for example `-framework CoreFoundation` on Mac OS X. Investigate...

A-build

Mark `Fixnum` struct as deprecated to have a consistent API with 2.4.

T-ruru
A-integers

Add basic support for `Module`s. Also there may be some common functionality which is implemented in `Class` struct. Extract the logic to a trait in this case.

T-ruru
A-modules

Implement `Copy` trait similarly to Rust primitive types. Should be implemented for those types which have constant `object_id`s. - [ ] `Boolean` - [ ] `Float` - [ ] `Integer`...

T-ruru
A-type-system