From c6f52bdc8d59961ffee3f6ba0697fab299c28f6a Mon Sep 17 00:00:00 2001 From: Jaroslaw Konik Date: Tue, 27 May 2025 17:53:19 +0200 Subject: [PATCH] fix docs --- book/src/ruby/builtin_types.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/book/src/ruby/builtin_types.md b/book/src/ruby/builtin_types.md index 0bb57e1..a661888 100644 --- a/book/src/ruby/builtin_types.md +++ b/book/src/ruby/builtin_types.md @@ -2,10 +2,10 @@ bevy_scriptum provides following types that can be used in Ruby: -- ```Bevy::Vec3``` -- ```Bevy::Entity``` +- `Bevy::Vec3` +- `Bevy::Entity` -## Vec3 +## Bevy::Vec3 ### Class Methods @@ -53,15 +53,15 @@ fn set_translation( } ``` -## BevyEntity +## Bevy::Entity ### Constructor -None - instances can only be acquired by using built-in `entity` global variable. +None - instances can only be acquired by using `Bevy::Entity.current` -### Properties +### Class method -- `index: integer` +- `index` ### Example Ruby usage