Skip to content

Conversation

@ryanseys
Copy link

Update book docs to use new magnus Ruby::str_new instead of RString::new (which is now on old-api magnus feature)

Also shortened from "Hello Ruby!" to just "Ruby!" and reformatted alignment of comments to save some space on screen.

OLD source: https://github.com/matsadler/magnus/blob/b83762a95462fa87a1fae445f243e7eb9ae5c8ab/src/r_string.rs#L313-L340

NEW source: https://github.com/matsadler/magnus/blob/b83762a95462fa87a1fae445f243e7eb9ae5c8ab/src/r_string.rs#L46-L69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant