Daniel P. Clark
Daniel P. Clark
I'm open for discussing this issue. Although I don't have much in mind of the way of improving the `class!` macro. I do have a pretty good idea for allowing...
Looking at the Rust source code it looks like panics from C cannot be caught & unwound from the Rust side: https://github.com/rust-lang/rust/blob/d96cc6e2865ff2cc77f061ae97e58aae50f5a1e9/src/test/run-pass/abort-on-c-abi.rs For this we'd likely need to use Ruby's...
Poossibly related. When calling the `Exception#full_message` method from Rust it panics. The method: ```rust fn full_string(&self) -> String { RString::from(binding_util::call_method(self.value(), "full_string", None)).to_string() } ``` The example: ```rust use ruru::{AnyException, Exception,...
On encoding I'd be interested if we could implement the same encoding support that Ruby has. I'm playing around with some ideas. The main issue to test against is this...
> and remove `RString::new_utf8` I think changing the `RString::new` method to expected behavior is a good idea. But I think you should keep the `RString::new_utf8` method around as it will...
Thanks for opening this issue. I'm going to be investigating encoding support through ruru this month so this info may come in to play. I'll be sure to provide any...
Can this be prioritized? I would greatly appreciate it. Class already has: * `rb_define_module` * `rb_define_module_under` I see we need: * `rb_define_module_function` * `rb_define_private_method` Maybe `rb_define_alloc_func` see Helix line: [libcruby-sys/src/lib.rs#L199](https://github.com/tildeio/helix/blob/07d1e016472b5769e77b9f392f6f7d2c244b6fb3/crates/libcruby-sys/src/lib.rs#L199)
Here's some info that may prove useful. My build complains when I run the `bundle exec` test suite from VIM about `libruby.so.2.4` missing, but if I copy that file into...
This isn't a ruru issue unless you're specifically saying that ruru's docs are suggesting the use of Data. As for using Data it is [depricated](https://github.com/ruby/ruby/commit/684bdf6171b76f5bc5e4f05926a5ab01ec2b4fd5). You can see the discussion...
Thanks for pointing that out @asppsa . I haven't yet come across a need for using it so I'm not sure at the moment about implementing an alternative.