-
Notifications
You must be signed in to change notification settings - Fork 2
/
ruby.html
executable file
·95 lines (70 loc) · 2.73 KB
/
ruby.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ruby • Gosu</title>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<div id="main">
<header id="logo_container">
<img src="website_header.png" alt="Gosu logo">
</header>
<aside class="links">
<h3>ask, explain, show off</h3>
<a href="https://www.libgosu.org/cgi-bin/mwf/forum.pl">forum</a>,
<a href="https://discord.gg/gTaHxdm">Discord server</a> <span class="new">new</span><br>
<h3>documentation</h3>
<a href="https://github.com/gosu/gosu/wiki/">wiki on github</a><br>
<a href="https://www.libgosu.org/rdoc">ruby reference</a><br>
<a href="https://www.libgosu.org/cpp">c++ reference</a><br>
<h3>development</h3>
<a href="https://github.com/gosu/gosu/">source on github</a><br>
<a href="https://github.com/gosu/gosu/issues">issues & wishlist</a><br>
<a href="https://github.com/gosu/gosu/releases">change log</a><br>
</aside>
<aside class="potd">
<!--#include virtual="/potd.inc" -->
</aside>
<nav id="tabs">
<a href="index.html">hello</a>
<span>ruby</span>
<a href="cpp.html">c++ / ios</a>
</nav>
<h2>Getting Started</h2>
<p>
On Windows, you can install Gosu through RubyGems:
<br>
<tt>gem install <strong>gosu</strong></tt>
<br>
<a style="display: inline-block" href="https://github.com/gosu/gosu/wiki/Getting-Started-on-OS-X">Installation instructions for macOS</a>
|
<a style="display: inline-block" href="https://github.com/gosu/gosu/wiki/Getting-Started-on-Linux">Installation instructions for Linux</a>
</p>
<h2>Example Code</h2>
<p>
Gosu has a companion gem for examples (<a href="https://github.com/gosu/gosu-examples">gosu/gosu-examples</a> on GitHub).
<br>
<tt>gem install <strong>gosu-examples</strong>
<br>
<strong>gosu-examples</strong> # ...to show the example box</tt>
<br>
You can select examples from the right sidebar and jump straight into the source code by pressing <tt>S</tt>.
<br>
<img src="gosu-examples.png" width="463" class="max-width-full">
</p>
<h2>Tutorial</h2>
<p>
We recommend <a href="https://github.com/gosu/gosu/wiki/Ruby-Tutorial">starting with the Ruby Tutorial on the wiki</a>.
For more documentation, check out the links in the sidebar.
</p>
<div style="clear: both"></div>
<footer>
<a href="imprint.html">imprint</a>
•
<a target="_blank" href="https://www.lurado.com/privacy">privacy policy</a>
</footer>
</div>
</body>
</html>