-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjvr.html
More file actions
65 lines (59 loc) · 2.44 KB
/
Copy pathjvr.html
File metadata and controls
65 lines (59 loc) · 2.44 KB
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
<!--group4 is a group that is number 4.-->
<html>
<head>
<title>Group 4 - Java vs Ruby</title>
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="styleSheet.css">
<link rel="shortcut icon" type="image/png" href="ruby.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
</head>
<body>
<div id="navBarTemplate">
<script>
$(function(){
$("#navBarTemplate").load("navBarTemplate.html");
});
</script>
</div>
<div id="content">
<h2>Java vs Ruby</h2>
<p>This section compares various pieces of Java code to the equivalent function in Ruby.</p>
<h2>Hello World</h2>
<h4>Java</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/helloWorld/Hello.java"></script>
</div>
<h4>Ruby</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/helloWorld/hello.rb"></script>
</div>
<h2>While Loop</h2>
<h4>Java</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/whileLoop/While.java"></script>
</div>
<h4>Ruby</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/whileLoop/while.rb"></script>
</div>
<h2>For Each Loop</h2>
<h4>Java</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/forEachLoop/ForEach.java"></script>
</div>
<h4>Ruby</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/forEachLoop/for_each.rb"></script>
</div>
<h2>Methods</h2>
<h4>Java</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/methods/Methods.java"></script>
</div>
<h4>Ruby</h4>
<div id="gist">
<script src="http://gist-it.appspot.com/https://github.com/gakio12/Ruby/blob/master/comparisons/methods/methods.rb"></script>
</div>
</div>
</body>
</html>