diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | .yardoc/checksums | 2 | ||||
| -rw-r--r-- | .yardoc/complete | 0 | ||||
| -rw-r--r-- | .yardoc/object_types | bin | 0 -> 775 bytes | |||
| -rw-r--r-- | .yardoc/objects/root.dat | bin | 0 -> 11366 bytes | |||
| -rw-r--r-- | .yardoc/proxy_types | bin | 0 -> 4 bytes | |||
| -rw-r--r-- | Gemfile | 7 | ||||
| -rw-r--r-- | Gemfile.lock | 15 | ||||
| -rw-r--r-- | Rakefile | 9 | ||||
| -rw-r--r-- | mrblib/raylib.rb | 1 |
10 files changed, 36 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eee5871 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +docs +docs/* diff --git a/.yardoc/checksums b/.yardoc/checksums new file mode 100644 index 0000000..36f29c4 --- /dev/null +++ b/.yardoc/checksums @@ -0,0 +1,2 @@ +mrblib/raylib.rb ce42382655c9ad1b0aa789cfb6d45d08be4eaf94 +src/raylib.c 36377aaeec5ca596a4d3493599dba11d45dfe2e3 diff --git a/.yardoc/complete b/.yardoc/complete new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.yardoc/complete diff --git a/.yardoc/object_types b/.yardoc/object_types Binary files differnew file mode 100644 index 0000000..5225e0e --- /dev/null +++ b/.yardoc/object_types diff --git a/.yardoc/objects/root.dat b/.yardoc/objects/root.dat Binary files differnew file mode 100644 index 0000000..171c994 --- /dev/null +++ b/.yardoc/objects/root.dat diff --git a/.yardoc/proxy_types b/.yardoc/proxy_types Binary files differnew file mode 100644 index 0000000..beefda1 --- /dev/null +++ b/.yardoc/proxy_types @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +# gem "rails" + +gem "yard", "~> 0.9.27" diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..887180c --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,15 @@ +GEM + remote: https://rubygems.org/ + specs: + webrick (1.7.0) + yard (0.9.27) + webrick (~> 1.7.0) + +PLATFORMS + x86_64-linux + +DEPENDENCIES + yard (~> 0.9.27) + +BUNDLED WITH + 2.3.6 diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..ec69262 --- /dev/null +++ b/Rakefile @@ -0,0 +1,9 @@ +require 'yard' + +task default: [:yard] + +YARD::Rake::YardocTask.new do |t| + t.files = ['./mrblib/*', 'src/*'] + t.options = ['--output-dir', './docs', 'yardoc --markup=markdown|textile|rdoc(default)'] + t.stats_options = ['--list-undoc'] +end diff --git a/mrblib/raylib.rb b/mrblib/raylib.rb index 1b0dfda..ed98340 100644 --- a/mrblib/raylib.rb +++ b/mrblib/raylib.rb @@ -1,5 +1,6 @@ Rl = Raylib +# This is a raylib module module Raylib class Rectangle def draw(color: Rl::Color.new(255,255,255,255)) |
