Ruby Macros
This crate provides procedural macros for Rusty Ruby, including derive(RubyClass) and related macros to simplify the process of defining Ruby classes and methods in Rust.
Features
derive(RubyClass): Automatically generates Ruby class definitions from Rust structs#[ruby_method]: Attribute macro for defining Ruby methods- Seamless integration with the Rusty Ruby runtime
Usage
Define a Ruby class
use RubyClass;
Dependencies
syn- For parsing Rust codequote- For generating Rust codeproc-macro2- For working with procedural macros