Skip to main content

RubyClass

Derive Macro RubyClass 

Source
#[derive(RubyClass)]
Expand description

A derive macro for defining Ruby classes

This macro generates code that defines a Ruby class with the same name as the struct, handles struct fields appropriately, and integrates with the existing Ruby API.