motion-music 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +6 -0
- data/Gemfile +8 -0
- data/Guardfile +6 -0
- data/LICENSE +23 -0
- data/README.md +53 -0
- data/doc/Gemfile.html +111 -0
- data/doc/Gemfile_lock.html +168 -0
- data/doc/Guardfile.html +111 -0
- data/doc/LICENSE.html +124 -0
- data/doc/Object.html +116 -0
- data/doc/RBMusic.html +164 -0
- data/doc/RBMusic/Interval.html +440 -0
- data/doc/RBMusic/Note.html +620 -0
- data/doc/RBMusic/NoteSet.html +277 -0
- data/doc/RBMusic/Scale.html +274 -0
- data/doc/README_md.html +163 -0
- data/doc/created.rid +8 -0
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +93 -0
- data/doc/js/darkfish.js +140 -0
- data/doc/js/jquery.js +18 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/projections_json.html +115 -0
- data/doc/rb-music_gemspec.html +132 -0
- data/doc/rdoc.css +580 -0
- data/doc/table_of_contents.html +192 -0
- data/lib/motion-music.rb +9 -0
- data/lib/motion-music/version.rb +3 -0
- data/lib/rb-music.rb +8 -0
- data/lib/rb-music/constants.rb +105 -0
- data/lib/rb-music/interval.rb +50 -0
- data/lib/rb-music/note.rb +107 -0
- data/lib/rb-music/note_set.rb +61 -0
- data/lib/rb-music/scale.rb +30 -0
- data/lib/rb-music/version.rb +3 -0
- data/motion-music.gemspec +20 -0
- data/projections.json +12 -0
- data/rb-music.gemspec +29 -0
- data/spec/rb-music/constants_spec.rb +27 -0
- data/spec/rb-music/interval_spec.rb +90 -0
- data/spec/rb-music/note_set_spec.rb +191 -0
- data/spec/rb-music/note_spec.rb +318 -0
- data/spec/rb-music/scale_spec.rb +88 -0
- data/spec/spec_helper.rb +14 -0
- metadata +124 -0
@@ -0,0 +1,115 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>projections.json - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link href="./fonts.css" rel="stylesheet">
|
10
|
+
<link href="./rdoc.css" rel="stylesheet">
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
var rdoc_rel_prefix = "./";
|
14
|
+
</script>
|
15
|
+
|
16
|
+
<script src="./js/jquery.js"></script>
|
17
|
+
<script src="./js/navigation.js"></script>
|
18
|
+
<script src="./js/search_index.js"></script>
|
19
|
+
<script src="./js/search.js"></script>
|
20
|
+
<script src="./js/searcher.js"></script>
|
21
|
+
<script src="./js/darkfish.js"></script>
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="./index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
60
|
+
<h3>Pages</h3>
|
61
|
+
|
62
|
+
<ul class="link-list">
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./coverage/assets/0_8_0/application_css.html">application.css</a>
|
75
|
+
|
76
|
+
<li><a href="./coverage/assets/0_8_0/application_js.html">application.js</a>
|
77
|
+
|
78
|
+
<li><a href="./coverage/index_html.html">index.html</a>
|
79
|
+
|
80
|
+
<li><a href="./projections_json.html">projections.json</a>
|
81
|
+
|
82
|
+
<li><a href="./rb-music_gemspec.html">rb-music.gemspec</a>
|
83
|
+
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
</nav>
|
89
|
+
|
90
|
+
<main role="main" aria-label="Page projections.json">
|
91
|
+
|
92
|
+
<p>{</p>
|
93
|
+
|
94
|
+
<pre>"lib/rb-music/*.rb": {
|
95
|
+
"command": "sources",
|
96
|
+
"alternate": "./spec/rb-music/%s_spec.rb",
|
97
|
+
"reverse_layout": false
|
98
|
+
},
|
99
|
+
"spec/rb-music/*_spec.rb": {
|
100
|
+
"command": "specs",
|
101
|
+
"alternate": "./lib/rb-music/%s.rb",
|
102
|
+
"reverse_layout": true
|
103
|
+
}</pre>
|
104
|
+
|
105
|
+
<p>}</p>
|
106
|
+
</main>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<footer id="validator-badges" role="contentinfo">
|
111
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
112
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
113
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
114
|
+
</footer>
|
115
|
+
|
@@ -0,0 +1,132 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>rb-music.gemspec - RDoc Documentation</title>
|
8
|
+
|
9
|
+
<link href="./fonts.css" rel="stylesheet">
|
10
|
+
<link href="./rdoc.css" rel="stylesheet">
|
11
|
+
|
12
|
+
<script type="text/javascript">
|
13
|
+
var rdoc_rel_prefix = "./";
|
14
|
+
</script>
|
15
|
+
|
16
|
+
<script src="./js/jquery.js"></script>
|
17
|
+
<script src="./js/navigation.js"></script>
|
18
|
+
<script src="./js/search_index.js"></script>
|
19
|
+
<script src="./js/search.js"></script>
|
20
|
+
<script src="./js/searcher.js"></script>
|
21
|
+
<script src="./js/darkfish.js"></script>
|
22
|
+
|
23
|
+
|
24
|
+
<body id="top" role="document" class="file">
|
25
|
+
<nav role="navigation">
|
26
|
+
<div id="project-navigation">
|
27
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
28
|
+
<h2>
|
29
|
+
<a href="./index.html" rel="home">Home</a>
|
30
|
+
</h2>
|
31
|
+
|
32
|
+
<div id="table-of-contents-navigation">
|
33
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
34
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
35
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
40
|
+
<form action="#" method="get" accept-charset="utf-8">
|
41
|
+
<div id="search-field-wrapper">
|
42
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
43
|
+
aria-autocomplete="list" aria-controls="search-results"
|
44
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
45
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<ul id="search-results" aria-label="Search Results"
|
49
|
+
aria-busy="false" aria-expanded="false"
|
50
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
51
|
+
</form>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
</div>
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<div id="project-metadata">
|
59
|
+
<div id="fileindex-section" class="nav-section">
|
60
|
+
<h3>Pages</h3>
|
61
|
+
|
62
|
+
<ul class="link-list">
|
63
|
+
|
64
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
65
|
+
|
66
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
67
|
+
|
68
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
69
|
+
|
70
|
+
<li><a href="./LICENSE.html">LICENSE</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./coverage/assets/0_8_0/application_css.html">application.css</a>
|
75
|
+
|
76
|
+
<li><a href="./coverage/assets/0_8_0/application_js.html">application.js</a>
|
77
|
+
|
78
|
+
<li><a href="./coverage/index_html.html">index.html</a>
|
79
|
+
|
80
|
+
<li><a href="./projections_json.html">projections.json</a>
|
81
|
+
|
82
|
+
<li><a href="./rb-music_gemspec.html">rb-music.gemspec</a>
|
83
|
+
|
84
|
+
</ul>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
</nav>
|
89
|
+
|
90
|
+
<main role="main" aria-label="Page rb-music.gemspec">
|
91
|
+
|
92
|
+
<p>$LOAD_PATH.push File.expand_path(“../lib”, __FILE__) require
|
93
|
+
“rb-music/version”</p>
|
94
|
+
|
95
|
+
<p>Gem::Specification.new do |s|</p>
|
96
|
+
|
97
|
+
<pre>s.name = "rb-music"
|
98
|
+
s.version = RBMusic::VERSION
|
99
|
+
s.platform = Gem::Platform::RUBY
|
100
|
+
s.license = "MIT"
|
101
|
+
s.summary = "Music theory library for Ruby"
|
102
|
+
s.description = "This gem provides Ruby classes for working with musical notes, scales and intervals."
|
103
|
+
s.author = "Mark Wise"
|
104
|
+
s.authors = ["Mark Wise"]
|
105
|
+
s.email = ["markmediadude@mgail.comm"]
|
106
|
+
s.files = ["lib/rb-music.rb"]
|
107
|
+
s.homepage = "https://rubygems.org/mwise/rb-music"
|
108
|
+
|
109
|
+
s.require_paths = ["lib"]
|
110
|
+
s.required_ruby_version = ">= 1.8.6"
|
111
|
+
s.files = `git ls-files -- lib/*`.split("\n")
|
112
|
+
s.files += %w[README.md LICENSE]
|
113
|
+
s.test_files = `git ls-files -- spec/*`.split("\n")
|
114
|
+
|
115
|
+
s.extra_rdoc_files = ['README.md']
|
116
|
+
|
117
|
+
s.add_development_dependency("guard-rspec")
|
118
|
+
s.add_development_dependency("rake")
|
119
|
+
s.add_development_dependency("rspec")
|
120
|
+
s.add_development_dependency("simplecov")</pre>
|
121
|
+
|
122
|
+
<p>end</p>
|
123
|
+
</main>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<footer id="validator-badges" role="contentinfo">
|
128
|
+
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
129
|
+
<p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.1.
|
130
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
131
|
+
</footer>
|
132
|
+
|
data/doc/rdoc.css
ADDED
@@ -0,0 +1,580 @@
|
|
1
|
+
/*
|
2
|
+
* "Darkfish" Rdoc CSS
|
3
|
+
* $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
|
4
|
+
*
|
5
|
+
* Author: Michael Granger <ged@FaerieMUD.org>
|
6
|
+
*
|
7
|
+
*/
|
8
|
+
|
9
|
+
/* vim: ft=css et sw=2 ts=2 sts=2 */
|
10
|
+
/* Base Green is: #6C8C22 */
|
11
|
+
|
12
|
+
* { padding: 0; margin: 0; }
|
13
|
+
|
14
|
+
body {
|
15
|
+
background: #fafafa;
|
16
|
+
font-family: Lato, sans-serif;
|
17
|
+
font-weight: 300;
|
18
|
+
}
|
19
|
+
|
20
|
+
h1 span,
|
21
|
+
h2 span,
|
22
|
+
h3 span,
|
23
|
+
h4 span,
|
24
|
+
h5 span,
|
25
|
+
h6 span {
|
26
|
+
display: none;
|
27
|
+
padding-left: 1em;
|
28
|
+
font-size: 10px;
|
29
|
+
vertical-align: super;
|
30
|
+
}
|
31
|
+
|
32
|
+
h1:hover span,
|
33
|
+
h2:hover span,
|
34
|
+
h3:hover span,
|
35
|
+
h4:hover span,
|
36
|
+
h5:hover span,
|
37
|
+
h6:hover span {
|
38
|
+
display: inline;
|
39
|
+
}
|
40
|
+
|
41
|
+
:link,
|
42
|
+
:visited {
|
43
|
+
color: #6C8C22;
|
44
|
+
text-decoration: none;
|
45
|
+
}
|
46
|
+
|
47
|
+
:link:hover,
|
48
|
+
:visited:hover {
|
49
|
+
border-bottom: 1px dotted #6C8C22;
|
50
|
+
}
|
51
|
+
|
52
|
+
code,
|
53
|
+
pre {
|
54
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
55
|
+
}
|
56
|
+
|
57
|
+
/* @group Generic Classes */
|
58
|
+
|
59
|
+
.initially-hidden {
|
60
|
+
display: none;
|
61
|
+
}
|
62
|
+
|
63
|
+
#search-field {
|
64
|
+
width: 98%;
|
65
|
+
background: white;
|
66
|
+
border: none;
|
67
|
+
height: 1.5em;
|
68
|
+
-webkit-border-radius: 4px;
|
69
|
+
-moz-border-radius: 4px;
|
70
|
+
border-radius: 4px;
|
71
|
+
text-align: left;
|
72
|
+
}
|
73
|
+
#search-field:focus {
|
74
|
+
background: #f1edba;
|
75
|
+
}
|
76
|
+
#search-field:-moz-placeholder,
|
77
|
+
#search-field::-webkit-input-placeholder {
|
78
|
+
font-weight: bold;
|
79
|
+
color: #666;
|
80
|
+
}
|
81
|
+
|
82
|
+
.missing-docs {
|
83
|
+
font-size: 120%;
|
84
|
+
background: white url(images/wrench_orange.png) no-repeat 4px center;
|
85
|
+
color: #ccc;
|
86
|
+
line-height: 2em;
|
87
|
+
border: 1px solid #d00;
|
88
|
+
opacity: 1;
|
89
|
+
padding-left: 20px;
|
90
|
+
text-indent: 24px;
|
91
|
+
letter-spacing: 3px;
|
92
|
+
font-weight: bold;
|
93
|
+
-webkit-border-radius: 5px;
|
94
|
+
-moz-border-radius: 5px;
|
95
|
+
}
|
96
|
+
|
97
|
+
.target-section {
|
98
|
+
border: 2px solid #dcce90;
|
99
|
+
border-left-width: 8px;
|
100
|
+
padding: 0 1em;
|
101
|
+
background: #fff3c2;
|
102
|
+
}
|
103
|
+
|
104
|
+
/* @end */
|
105
|
+
|
106
|
+
/* @group Index Page, Standalone file pages */
|
107
|
+
.table-of-contents ul {
|
108
|
+
margin: 1em;
|
109
|
+
list-style: none;
|
110
|
+
}
|
111
|
+
|
112
|
+
.table-of-contents ul ul {
|
113
|
+
margin-top: 0.25em;
|
114
|
+
}
|
115
|
+
|
116
|
+
.table-of-contents ul :link,
|
117
|
+
.table-of-contents ul :visited {
|
118
|
+
font-size: 16px;
|
119
|
+
}
|
120
|
+
|
121
|
+
.table-of-contents li {
|
122
|
+
margin-bottom: 0.25em;
|
123
|
+
}
|
124
|
+
|
125
|
+
.table-of-contents li .toc-toggle {
|
126
|
+
width: 16px;
|
127
|
+
height: 16px;
|
128
|
+
background: url(images/add.png) no-repeat;
|
129
|
+
}
|
130
|
+
|
131
|
+
.table-of-contents li .toc-toggle.open {
|
132
|
+
background: url(images/delete.png) no-repeat;
|
133
|
+
}
|
134
|
+
|
135
|
+
/* @end */
|
136
|
+
|
137
|
+
/* @group Top-Level Structure */
|
138
|
+
|
139
|
+
nav {
|
140
|
+
float: left;
|
141
|
+
width: 260px;
|
142
|
+
font-family: Helvetica, sans-serif;
|
143
|
+
font-size: 14px;
|
144
|
+
}
|
145
|
+
|
146
|
+
main {
|
147
|
+
display: block;
|
148
|
+
margin: 0 2em 5em 260px;
|
149
|
+
padding-left: 20px;
|
150
|
+
min-width: 340px;
|
151
|
+
font-size: 16px;
|
152
|
+
}
|
153
|
+
|
154
|
+
main h1,
|
155
|
+
main h2,
|
156
|
+
main h3,
|
157
|
+
main h4,
|
158
|
+
main h5,
|
159
|
+
main h6 {
|
160
|
+
font-family: Helvetica, sans-serif;
|
161
|
+
}
|
162
|
+
|
163
|
+
.table-of-contents main {
|
164
|
+
margin-left: 2em;
|
165
|
+
}
|
166
|
+
|
167
|
+
#validator-badges {
|
168
|
+
clear: both;
|
169
|
+
margin: 1em 1em 2em;
|
170
|
+
font-size: smaller;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* @end */
|
174
|
+
|
175
|
+
/* @group navigation */
|
176
|
+
nav {
|
177
|
+
margin-bottom: 1em;
|
178
|
+
}
|
179
|
+
|
180
|
+
nav .nav-section {
|
181
|
+
margin-top: 2em;
|
182
|
+
border-top: 2px solid #aaa;
|
183
|
+
font-size: 90%;
|
184
|
+
overflow: hidden;
|
185
|
+
}
|
186
|
+
|
187
|
+
nav h2 {
|
188
|
+
margin: 0;
|
189
|
+
padding: 2px 8px 2px 8px;
|
190
|
+
background-color: #e8e8e8;
|
191
|
+
color: #555;
|
192
|
+
font-size: 125%;
|
193
|
+
text-align: center;
|
194
|
+
}
|
195
|
+
|
196
|
+
nav h3,
|
197
|
+
#table-of-contents-navigation {
|
198
|
+
margin: 0;
|
199
|
+
padding: 2px 8px 2px 8px;
|
200
|
+
text-align: right;
|
201
|
+
background-color: #e8e8e8;
|
202
|
+
color: #555;
|
203
|
+
}
|
204
|
+
|
205
|
+
nav ul,
|
206
|
+
nav dl,
|
207
|
+
nav p {
|
208
|
+
padding: 4px 8px 0;
|
209
|
+
list-style: none;
|
210
|
+
}
|
211
|
+
|
212
|
+
#project-navigation .nav-section {
|
213
|
+
margin: 0;
|
214
|
+
border-top: 0;
|
215
|
+
}
|
216
|
+
|
217
|
+
#home-section h2 {
|
218
|
+
text-align: center;
|
219
|
+
}
|
220
|
+
|
221
|
+
#table-of-contents-navigation {
|
222
|
+
font-size: 1.2em;
|
223
|
+
font-weight: bold;
|
224
|
+
text-align: center;
|
225
|
+
}
|
226
|
+
|
227
|
+
#search-section {
|
228
|
+
margin-top: 0;
|
229
|
+
border-top: 0;
|
230
|
+
}
|
231
|
+
|
232
|
+
#search-field-wrapper {
|
233
|
+
border-top: 1px solid #aaa;
|
234
|
+
border-bottom: 1px solid #aaa;
|
235
|
+
padding: 3px 8px;
|
236
|
+
background-color: #e8e8e8;
|
237
|
+
color: #555;
|
238
|
+
}
|
239
|
+
|
240
|
+
ul.link-list li {
|
241
|
+
white-space: nowrap;
|
242
|
+
line-height: 1.4em;
|
243
|
+
}
|
244
|
+
|
245
|
+
ul.link-list .type {
|
246
|
+
font-size: 8px;
|
247
|
+
text-transform: uppercase;
|
248
|
+
color: white;
|
249
|
+
background: #969696;
|
250
|
+
padding: 2px 4px;
|
251
|
+
-webkit-border-radius: 5px;
|
252
|
+
}
|
253
|
+
|
254
|
+
.calls-super {
|
255
|
+
background: url(images/arrow_up.png) no-repeat right center;
|
256
|
+
}
|
257
|
+
|
258
|
+
/* @end */
|
259
|
+
|
260
|
+
/* @group Documentation Section */
|
261
|
+
main {
|
262
|
+
color: #333;
|
263
|
+
}
|
264
|
+
|
265
|
+
main > h1:first-child,
|
266
|
+
main > h2:first-child,
|
267
|
+
main > h3:first-child,
|
268
|
+
main > h4:first-child,
|
269
|
+
main > h5:first-child,
|
270
|
+
main > h6:first-child {
|
271
|
+
margin-top: 0px;
|
272
|
+
}
|
273
|
+
|
274
|
+
main sup {
|
275
|
+
vertical-align: super;
|
276
|
+
font-size: 0.8em;
|
277
|
+
}
|
278
|
+
|
279
|
+
/* The heading with the class name */
|
280
|
+
main h1[class] {
|
281
|
+
margin-top: 0;
|
282
|
+
margin-bottom: 1em;
|
283
|
+
font-size: 2em;
|
284
|
+
color: #6C8C22;
|
285
|
+
}
|
286
|
+
|
287
|
+
main h1 {
|
288
|
+
margin: 2em 0 0.5em;
|
289
|
+
font-size: 1.7em;
|
290
|
+
}
|
291
|
+
|
292
|
+
main h2 {
|
293
|
+
margin: 2em 0 0.5em;
|
294
|
+
font-size: 1.5em;
|
295
|
+
}
|
296
|
+
|
297
|
+
main h3 {
|
298
|
+
margin: 2em 0 0.5em;
|
299
|
+
font-size: 1.2em;
|
300
|
+
}
|
301
|
+
|
302
|
+
main h4 {
|
303
|
+
margin: 2em 0 0.5em;
|
304
|
+
font-size: 1.1em;
|
305
|
+
}
|
306
|
+
|
307
|
+
main h5 {
|
308
|
+
margin: 2em 0 0.5em;
|
309
|
+
font-size: 1em;
|
310
|
+
}
|
311
|
+
|
312
|
+
main h6 {
|
313
|
+
margin: 2em 0 0.5em;
|
314
|
+
font-size: 1em;
|
315
|
+
}
|
316
|
+
|
317
|
+
main p {
|
318
|
+
margin: 0 0 0.5em;
|
319
|
+
line-height: 1.4em;
|
320
|
+
}
|
321
|
+
|
322
|
+
main pre {
|
323
|
+
margin: 1.2em 0.5em;
|
324
|
+
padding: 1em;
|
325
|
+
font-size: 0.8em;
|
326
|
+
}
|
327
|
+
|
328
|
+
main hr {
|
329
|
+
margin: 1.5em 1em;
|
330
|
+
border: 2px solid #ddd;
|
331
|
+
}
|
332
|
+
|
333
|
+
main blockquote {
|
334
|
+
margin: 0 2em 1.2em 1.2em;
|
335
|
+
padding-left: 0.5em;
|
336
|
+
border-left: 2px solid #ddd;
|
337
|
+
}
|
338
|
+
|
339
|
+
main ol,
|
340
|
+
main ul {
|
341
|
+
margin: 1em 2em;
|
342
|
+
}
|
343
|
+
|
344
|
+
main li > p {
|
345
|
+
margin-bottom: 0.5em;
|
346
|
+
}
|
347
|
+
|
348
|
+
main dl {
|
349
|
+
margin: 1em 0.5em;
|
350
|
+
}
|
351
|
+
|
352
|
+
main dt {
|
353
|
+
margin-bottom: 0.5em;
|
354
|
+
font-weight: bold;
|
355
|
+
}
|
356
|
+
|
357
|
+
main dd {
|
358
|
+
margin: 0 1em 1em 0.5em;
|
359
|
+
}
|
360
|
+
|
361
|
+
main header h2 {
|
362
|
+
margin-top: 2em;
|
363
|
+
border-width: 0;
|
364
|
+
border-top: 4px solid #bbb;
|
365
|
+
font-size: 130%;
|
366
|
+
}
|
367
|
+
|
368
|
+
main header h3 {
|
369
|
+
margin: 2em 0 1.5em;
|
370
|
+
border-width: 0;
|
371
|
+
border-top: 3px solid #bbb;
|
372
|
+
font-size: 120%;
|
373
|
+
}
|
374
|
+
|
375
|
+
.documentation-section-title {
|
376
|
+
position: relative;
|
377
|
+
}
|
378
|
+
.documentation-section-title .section-click-top {
|
379
|
+
position: absolute;
|
380
|
+
top: 6px;
|
381
|
+
left: 12px;
|
382
|
+
font-size: 10px;
|
383
|
+
color: #9b9877;
|
384
|
+
visibility: hidden;
|
385
|
+
padding-left: 0.5px;
|
386
|
+
}
|
387
|
+
|
388
|
+
.documentation-section-title:hover .section-click-top {
|
389
|
+
visibility: visible;
|
390
|
+
}
|
391
|
+
|
392
|
+
.constants-list > dl {
|
393
|
+
margin: 1em 0 2em;
|
394
|
+
border: 0;
|
395
|
+
}
|
396
|
+
|
397
|
+
.constants-list > dl dt {
|
398
|
+
margin-bottom: 0.75em;
|
399
|
+
padding-left: 0;
|
400
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
401
|
+
font-size: 110%;
|
402
|
+
}
|
403
|
+
|
404
|
+
.constants-list > dl dt a {
|
405
|
+
color: inherit;
|
406
|
+
}
|
407
|
+
|
408
|
+
.constants-list > dl dd {
|
409
|
+
margin: 0 0 2em 0;
|
410
|
+
padding: 0;
|
411
|
+
color: #666;
|
412
|
+
}
|
413
|
+
|
414
|
+
.documentation-section h2 {
|
415
|
+
position: relative;
|
416
|
+
}
|
417
|
+
|
418
|
+
.documentation-section h2 a {
|
419
|
+
position: absolute;
|
420
|
+
top: 8px;
|
421
|
+
right: 10px;
|
422
|
+
font-size: 12px;
|
423
|
+
color: #9b9877;
|
424
|
+
visibility: hidden;
|
425
|
+
}
|
426
|
+
|
427
|
+
.documentation-section h2:hover a {
|
428
|
+
visibility: visible;
|
429
|
+
}
|
430
|
+
|
431
|
+
/* @group Method Details */
|
432
|
+
|
433
|
+
main .method-source-code {
|
434
|
+
display: none;
|
435
|
+
}
|
436
|
+
|
437
|
+
main .method-description .method-calls-super {
|
438
|
+
color: #333;
|
439
|
+
font-weight: bold;
|
440
|
+
}
|
441
|
+
|
442
|
+
main .method-detail {
|
443
|
+
margin-bottom: 2.5em;
|
444
|
+
cursor: pointer;
|
445
|
+
}
|
446
|
+
|
447
|
+
main .method-detail:target {
|
448
|
+
margin-left: -10px;
|
449
|
+
border-left: 10px solid #f1edba;
|
450
|
+
}
|
451
|
+
|
452
|
+
main .method-heading {
|
453
|
+
position: relative;
|
454
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
455
|
+
font-size: 110%;
|
456
|
+
font-weight: bold;
|
457
|
+
color: #333;
|
458
|
+
}
|
459
|
+
main .method-heading :link,
|
460
|
+
main .method-heading :visited {
|
461
|
+
color: inherit;
|
462
|
+
}
|
463
|
+
main .method-click-advice {
|
464
|
+
position: absolute;
|
465
|
+
top: 2px;
|
466
|
+
right: 5px;
|
467
|
+
font-size: 12px;
|
468
|
+
color: #9b9877;
|
469
|
+
visibility: hidden;
|
470
|
+
padding-right: 20px;
|
471
|
+
line-height: 20px;
|
472
|
+
background: url(images/zoom.png) no-repeat right top;
|
473
|
+
}
|
474
|
+
main .method-heading:hover .method-click-advice {
|
475
|
+
visibility: visible;
|
476
|
+
}
|
477
|
+
|
478
|
+
main .method-alias .method-heading {
|
479
|
+
color: #666;
|
480
|
+
}
|
481
|
+
|
482
|
+
main .method-description,
|
483
|
+
main .aliases {
|
484
|
+
margin-top: 0.75em;
|
485
|
+
color: #333;
|
486
|
+
}
|
487
|
+
|
488
|
+
main .aliases {
|
489
|
+
padding-top: 4px;
|
490
|
+
font-style: italic;
|
491
|
+
cursor: default;
|
492
|
+
}
|
493
|
+
main .method-description ul {
|
494
|
+
margin-left: 1.5em;
|
495
|
+
}
|
496
|
+
|
497
|
+
main #attribute-method-details .method-detail:hover {
|
498
|
+
background-color: transparent;
|
499
|
+
cursor: default;
|
500
|
+
}
|
501
|
+
main .attribute-access-type {
|
502
|
+
text-transform: uppercase;
|
503
|
+
padding: 0 1em;
|
504
|
+
}
|
505
|
+
/* @end */
|
506
|
+
|
507
|
+
/* @end */
|
508
|
+
|
509
|
+
/* @group Source Code */
|
510
|
+
|
511
|
+
pre {
|
512
|
+
margin: 0.5em 0;
|
513
|
+
border: 1px dashed #999;
|
514
|
+
padding: 0.5em;
|
515
|
+
background: #262626;
|
516
|
+
color: white;
|
517
|
+
overflow: auto;
|
518
|
+
}
|
519
|
+
|
520
|
+
.ruby-constant { color: #7fffd4; background: transparent; }
|
521
|
+
.ruby-keyword { color: #00ffff; background: transparent; }
|
522
|
+
.ruby-ivar { color: #eedd82; background: transparent; }
|
523
|
+
.ruby-operator { color: #00ffee; background: transparent; }
|
524
|
+
.ruby-identifier { color: #ffdead; background: transparent; }
|
525
|
+
.ruby-node { color: #ffa07a; background: transparent; }
|
526
|
+
.ruby-comment { color: #dc0000; background: transparent; }
|
527
|
+
.ruby-regexp { color: #ffa07a; background: transparent; }
|
528
|
+
.ruby-value { color: #7fffd4; background: transparent; }
|
529
|
+
|
530
|
+
/* @end */
|
531
|
+
|
532
|
+
|
533
|
+
/* @group search results */
|
534
|
+
#search-results {
|
535
|
+
font-family: Lato, sans-serif;
|
536
|
+
font-weight: 300;
|
537
|
+
}
|
538
|
+
|
539
|
+
#search-results .search-match {
|
540
|
+
font-family: Helvetica, sans-serif;
|
541
|
+
font-weight: normal;
|
542
|
+
}
|
543
|
+
|
544
|
+
#search-results .search-selected {
|
545
|
+
background: #e8e8e8;
|
546
|
+
border-bottom: 1px solid transparent;
|
547
|
+
}
|
548
|
+
|
549
|
+
#search-results li {
|
550
|
+
list-style: none;
|
551
|
+
border-bottom: 1px solid #aaa;
|
552
|
+
margin-bottom: 0.5em;
|
553
|
+
}
|
554
|
+
|
555
|
+
#search-results li:last-child {
|
556
|
+
border-bottom: none;
|
557
|
+
margin-bottom: 0;
|
558
|
+
}
|
559
|
+
|
560
|
+
#search-results li p {
|
561
|
+
padding: 0;
|
562
|
+
margin: 0.5em;
|
563
|
+
}
|
564
|
+
|
565
|
+
#search-results .search-namespace {
|
566
|
+
font-weight: bold;
|
567
|
+
}
|
568
|
+
|
569
|
+
#search-results li em {
|
570
|
+
background: yellow;
|
571
|
+
font-style: normal;
|
572
|
+
}
|
573
|
+
|
574
|
+
#search-results pre {
|
575
|
+
margin: 0.5em;
|
576
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
577
|
+
}
|
578
|
+
|
579
|
+
/* @end */
|
580
|
+
|