ruby-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +59 -0
- data/.travis.yml +6 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +91 -0
- data/LICENSE +177 -0
- data/README.md +49 -0
- data/Rakefile +14 -0
- data/bin/console +6 -0
- data/bin/setup +6 -0
- data/doc/Api.html +1592 -0
- data/doc/ClientRPC.html +99 -0
- data/doc/ClientRPC/Connect.html +106 -0
- data/doc/ClientRPC/Connect/Error.html +106 -0
- data/doc/Gemfile.html +101 -0
- data/doc/Gemfile_lock.html +193 -0
- data/doc/LICENSE.html +177 -0
- data/doc/LICENSE_txt.html +105 -0
- data/doc/Nimiq.html +99 -0
- data/doc/Nimiq/Client.html +248 -0
- data/doc/Nimiq/Error.html +108 -0
- data/doc/Nimiq/Exceptions.html +163 -0
- data/doc/Object.html +125 -0
- data/doc/README_md.html +162 -0
- data/doc/Rakefile.html +108 -0
- data/doc/Ruby.html +99 -0
- data/doc/Ruby/ClientTest.html +106 -0
- data/doc/bin/setup.html +99 -0
- data/doc/classes/Api.html +1506 -0
- data/doc/classes/ClientRPC.html +120 -0
- data/doc/classes/ClientRPC/Connect.html +120 -0
- data/doc/classes/ClientRPC/Connect/Error.html +111 -0
- data/doc/classes/Nimiq.html +145 -0
- data/doc/classes/Nimiq/Client.html +237 -0
- data/doc/classes/Nimiq/Error.html +113 -0
- data/doc/classes/Nimiq/Exceptions.html +152 -0
- data/doc/classes/index.html +80 -0
- data/doc/created.rid +13 -0
- data/doc/css/application.css +64 -0
- data/doc/css/bootstrap.min.css +868 -0
- data/doc/css/coderay.css +141 -0
- data/doc/css/fonts.css +167 -0
- data/doc/css/rdoc.css +668 -0
- data/doc/files/index.html +82 -0
- data/doc/files/lib/api_rb.html +112 -0
- data/doc/files/lib/client_rb.html +118 -0
- data/doc/files/lib/nimiq/version_rb.html +105 -0
- data/doc/files/lib/rpcclient_rb.html +119 -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/img/glyphicons-halflings-white.png +0 -0
- data/doc/img/glyphicons-halflings.png +0 -0
- data/doc/index.html +110 -0
- data/doc/js/application.js +50 -0
- data/doc/js/bootstrap.min.js +7 -0
- data/doc/js/darkfish.js +84 -0
- data/doc/js/index.js +1 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +105 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +110 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +229 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/method/index.html +122 -0
- data/doc/table_of_contents.html +318 -0
- data/lib/api.rb +317 -0
- data/lib/client.rb +46 -0
- data/lib/nimiq/version.rb +3 -0
- data/lib/rpcclient.rb +108 -0
- data/ruby-client.gemspec +28 -0
- metadata +160 -0
data/doc/css/coderay.css
ADDED
@@ -0,0 +1,141 @@
|
|
1
|
+
.CodeRay pre {
|
2
|
+
margin: 0px;
|
3
|
+
font-size: 11px;
|
4
|
+
line-height: 15px;
|
5
|
+
}
|
6
|
+
|
7
|
+
span.CodeRay { white-space: pre; border: 0px; padding: 2px; }
|
8
|
+
|
9
|
+
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px; }
|
10
|
+
table.CodeRay td { padding: 2px 4px; vertical-align: top; }
|
11
|
+
|
12
|
+
.CodeRay .line-numbers {
|
13
|
+
color: gray;
|
14
|
+
text-align: right;
|
15
|
+
-webkit-user-select: none;
|
16
|
+
-moz-user-select: none;
|
17
|
+
user-select: none;
|
18
|
+
padding-right: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.CodeRay .line-numbers strong {
|
22
|
+
font-weight: normal;
|
23
|
+
}
|
24
|
+
|
25
|
+
.CodeRay .line-numbers pre {
|
26
|
+
border-radius: 4px 0 0 4px;
|
27
|
+
border-right: 0;
|
28
|
+
background-color: #eee;
|
29
|
+
}
|
30
|
+
|
31
|
+
.CodeRay td.code {
|
32
|
+
padding-left: 0;
|
33
|
+
overflow: auto;
|
34
|
+
}
|
35
|
+
|
36
|
+
.CodeRay td.code pre {
|
37
|
+
border-radius: 0 4px 4px 0;
|
38
|
+
border-left: 0;
|
39
|
+
white-space: pre;
|
40
|
+
}
|
41
|
+
|
42
|
+
.CodeRay .line-numbers a {
|
43
|
+
color: #ccc;
|
44
|
+
text-decoration: none !important;
|
45
|
+
white-space: nowrap;
|
46
|
+
}
|
47
|
+
.CodeRay .line-numbers a:target { color: blue !important; }
|
48
|
+
.CodeRay .line-numbers .highlighted { color: red !important; }
|
49
|
+
.CodeRay .line-numbers .highlighted a { color: red !important; }
|
50
|
+
.CodeRay span.line-numbers { padding: 0px 4px; }
|
51
|
+
.CodeRay .line { display: block; float: left; width: 100%; }
|
52
|
+
.CodeRay .code { width: 100%; }
|
53
|
+
|
54
|
+
.CodeRay .debug { color: white !important; background: blue !important; }
|
55
|
+
|
56
|
+
.CodeRay .annotation { color:#007 }
|
57
|
+
.CodeRay .attribute-name { color:#b48 }
|
58
|
+
.CodeRay .attribute-value { color:#700 }
|
59
|
+
.CodeRay .binary { color:#509 }
|
60
|
+
.CodeRay .char .content { color:#D20 }
|
61
|
+
.CodeRay .char .delimiter { color:#710 }
|
62
|
+
.CodeRay .char { color:#D20 }
|
63
|
+
.CodeRay .class { color:#B06; font-weight:bold }
|
64
|
+
.CodeRay .class-variable { color:#369 }
|
65
|
+
.CodeRay .color { color:#0A0 }
|
66
|
+
.CodeRay .comment { color:#777 }
|
67
|
+
.CodeRay .comment .char { color:#444 }
|
68
|
+
.CodeRay .comment .delimiter { color:#444 }
|
69
|
+
.CodeRay .complex { color:#A08 }
|
70
|
+
.CodeRay .constant { color:#036; font-weight:bold }
|
71
|
+
.CodeRay .decorator { color:#B0B }
|
72
|
+
.CodeRay .definition { color:#099; font-weight:bold }
|
73
|
+
.CodeRay .delimiter { color:black }
|
74
|
+
.CodeRay .directive { color:#088; font-weight:bold }
|
75
|
+
.CodeRay .doc { color:#970 }
|
76
|
+
.CodeRay .doc-string { color:#D42; font-weight:bold }
|
77
|
+
.CodeRay .doctype { color:#34b }
|
78
|
+
.CodeRay .entity { color:#800; font-weight:bold }
|
79
|
+
.CodeRay .error { color:#F00; background-color:#FAA }
|
80
|
+
.CodeRay .escape { color:#666 }
|
81
|
+
.CodeRay .exception { color:#C00; font-weight:bold }
|
82
|
+
.CodeRay .float { color:#60E }
|
83
|
+
.CodeRay .function { color:#06B; font-weight:bold }
|
84
|
+
.CodeRay .global-variable { color:#d70 }
|
85
|
+
.CodeRay .hex { color:#02b }
|
86
|
+
.CodeRay .imaginary { color:#f00 }
|
87
|
+
.CodeRay .include { color:#B44; font-weight:bold }
|
88
|
+
.CodeRay .inline { background-color: hsla(0,0%,0%,0.07); color: black }
|
89
|
+
.CodeRay .inline-delimiter { font-weight: bold; color: #666 }
|
90
|
+
.CodeRay .instance-variable { color:#33B }
|
91
|
+
.CodeRay .integer { color:#00D }
|
92
|
+
.CodeRay .key .char { color: #60f }
|
93
|
+
.CodeRay .key .delimiter { color: #404 }
|
94
|
+
.CodeRay .key { color: #606 }
|
95
|
+
.CodeRay .keyword { color:#080; font-weight:bold }
|
96
|
+
.CodeRay .label { color:#970; font-weight:bold }
|
97
|
+
.CodeRay .local-variable { color:#963 }
|
98
|
+
.CodeRay .namespace { color:#707; font-weight:bold }
|
99
|
+
.CodeRay .octal { color:#40E }
|
100
|
+
.CodeRay .operator { }
|
101
|
+
.CodeRay .predefined { color:#369; font-weight:bold }
|
102
|
+
.CodeRay .predefined-constant { color:#069 }
|
103
|
+
.CodeRay .predefined-type { color:#0a5; font-weight:bold }
|
104
|
+
.CodeRay .preprocessor { color:#579 }
|
105
|
+
.CodeRay .pseudo-class { color:#00C; font-weight:bold }
|
106
|
+
.CodeRay .regexp .content { color:#808 }
|
107
|
+
.CodeRay .regexp .delimiter { color:#404 }
|
108
|
+
.CodeRay .regexp .modifier { color:#C2C }
|
109
|
+
.CodeRay .regexp { background-color:hsla(300,100%,50%,0.06); }
|
110
|
+
.CodeRay .reserved { color:#080; font-weight:bold }
|
111
|
+
.CodeRay .shell .content { color:#2B2 }
|
112
|
+
.CodeRay .shell .delimiter { color:#161 }
|
113
|
+
.CodeRay .shell { background-color:hsla(120,100%,50%,0.06); }
|
114
|
+
.CodeRay .string .char { color: #b0b }
|
115
|
+
.CodeRay .string .content { color: #D20 }
|
116
|
+
.CodeRay .string .delimiter { color: #710 }
|
117
|
+
.CodeRay .string .modifier { color: #E40 }
|
118
|
+
.CodeRay .string { background-color:hsla(0,100%,50%,0.05); }
|
119
|
+
.CodeRay .symbol .content { color:#A60 }
|
120
|
+
.CodeRay .symbol .delimiter { color:#630 }
|
121
|
+
.CodeRay .symbol { color:#A60 }
|
122
|
+
.CodeRay .tag { color:#070 }
|
123
|
+
.CodeRay .type { color:#339; font-weight:bold }
|
124
|
+
.CodeRay .value { color: #088; }
|
125
|
+
.CodeRay .variable { color:#037 }
|
126
|
+
|
127
|
+
.CodeRay .insert { background: hsla(120,100%,50%,0.12) }
|
128
|
+
.CodeRay .delete { background: hsla(0,100%,50%,0.12) }
|
129
|
+
.CodeRay .change { color: #bbf; background: #007; }
|
130
|
+
.CodeRay .head { color: #f8f; background: #505 }
|
131
|
+
.CodeRay .head .filename { color: white; }
|
132
|
+
|
133
|
+
.CodeRay .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 5px; border-top-right-radius: 5px; }
|
134
|
+
.CodeRay .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }
|
135
|
+
|
136
|
+
.CodeRay .insert .insert { color: #0c0; background:transparent; font-weight:bold }
|
137
|
+
.CodeRay .delete .delete { color: #c00; background:transparent; font-weight:bold }
|
138
|
+
.CodeRay .change .change { color: #88f }
|
139
|
+
.CodeRay .head .head { color: #f4f }
|
140
|
+
|
141
|
+
table.CodeRay { width: auto }
|
data/doc/css/fonts.css
ADDED
@@ -0,0 +1,167 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/),
|
3
|
+
* with Reserved Font Name "Source". All Rights Reserved. Source is a
|
4
|
+
* trademark of Adobe Systems Incorporated in the United States and/or other
|
5
|
+
* countries.
|
6
|
+
*
|
7
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
8
|
+
* 1.1.
|
9
|
+
*
|
10
|
+
* This license is copied below, and is also available with a FAQ at:
|
11
|
+
* http://scripts.sil.org/OFL
|
12
|
+
*/
|
13
|
+
|
14
|
+
@font-face {
|
15
|
+
font-family: "Source Code Pro";
|
16
|
+
font-style: normal;
|
17
|
+
font-weight: 400;
|
18
|
+
src: local("Source Code Pro"),
|
19
|
+
local("SourceCodePro-Regular"),
|
20
|
+
url("../fonts/SourceCodePro-Regular.ttf") format("truetype");
|
21
|
+
}
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: "Source Code Pro";
|
25
|
+
font-style: normal;
|
26
|
+
font-weight: 700;
|
27
|
+
src: local("Source Code Pro Bold"),
|
28
|
+
local("SourceCodePro-Bold"),
|
29
|
+
url("../fonts/SourceCodePro-Bold.ttf") format("truetype");
|
30
|
+
}
|
31
|
+
|
32
|
+
/*
|
33
|
+
* Copyright (c) 2010, Łukasz Dziedzic (dziedzic@typoland.com),
|
34
|
+
* with Reserved Font Name Lato.
|
35
|
+
*
|
36
|
+
* This Font Software is licensed under the SIL Open Font License, Version
|
37
|
+
* 1.1.
|
38
|
+
*
|
39
|
+
* This license is copied below, and is also available with a FAQ at:
|
40
|
+
* http://scripts.sil.org/OFL
|
41
|
+
*/
|
42
|
+
|
43
|
+
@font-face {
|
44
|
+
font-family: "Lato";
|
45
|
+
font-style: normal;
|
46
|
+
font-weight: 300;
|
47
|
+
src: local("Lato Light"),
|
48
|
+
local("Lato-Light"),
|
49
|
+
url("../fonts/Lato-Light.ttf") format("truetype");
|
50
|
+
}
|
51
|
+
|
52
|
+
@font-face {
|
53
|
+
font-family: "Lato";
|
54
|
+
font-style: italic;
|
55
|
+
font-weight: 300;
|
56
|
+
src: local("Lato Light Italic"),
|
57
|
+
local("Lato-LightItalic"),
|
58
|
+
url("../fonts/Lato-LightItalic.ttf") format("truetype");
|
59
|
+
}
|
60
|
+
|
61
|
+
@font-face {
|
62
|
+
font-family: "Lato";
|
63
|
+
font-style: normal;
|
64
|
+
font-weight: 700;
|
65
|
+
src: local("Lato Regular"),
|
66
|
+
local("Lato-Regular"),
|
67
|
+
url("../fonts/Lato-Regular.ttf") format("truetype");
|
68
|
+
}
|
69
|
+
|
70
|
+
@font-face {
|
71
|
+
font-family: "Lato";
|
72
|
+
font-style: italic;
|
73
|
+
font-weight: 700;
|
74
|
+
src: local("Lato Italic"),
|
75
|
+
local("Lato-Italic"),
|
76
|
+
url("../fonts/Lato-RegularItalic.ttf") format("truetype");
|
77
|
+
}
|
78
|
+
|
79
|
+
/*
|
80
|
+
* -----------------------------------------------------------
|
81
|
+
* SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
82
|
+
* -----------------------------------------------------------
|
83
|
+
*
|
84
|
+
* PREAMBLE
|
85
|
+
* The goals of the Open Font License (OFL) are to stimulate worldwide
|
86
|
+
* development of collaborative font projects, to support the font creation
|
87
|
+
* efforts of academic and linguistic communities, and to provide a free and
|
88
|
+
* open framework in which fonts may be shared and improved in partnership
|
89
|
+
* with others.
|
90
|
+
*
|
91
|
+
* The OFL allows the licensed fonts to be used, studied, modified and
|
92
|
+
* redistributed freely as long as they are not sold by themselves. The
|
93
|
+
* fonts, including any derivative works, can be bundled, embedded,
|
94
|
+
* redistributed and/or sold with any software provided that any reserved
|
95
|
+
* names are not used by derivative works. The fonts and derivatives,
|
96
|
+
* however, cannot be released under any other type of license. The
|
97
|
+
* requirement for fonts to remain under this license does not apply
|
98
|
+
* to any document created using the fonts or their derivatives.
|
99
|
+
*
|
100
|
+
* DEFINITIONS
|
101
|
+
* "Font Software" refers to the set of files released by the Copyright
|
102
|
+
* Holder(s) under this license and clearly marked as such. This may
|
103
|
+
* include source files, build scripts and documentation.
|
104
|
+
*
|
105
|
+
* "Reserved Font Name" refers to any names specified as such after the
|
106
|
+
* copyright statement(s).
|
107
|
+
*
|
108
|
+
* "Original Version" refers to the collection of Font Software components as
|
109
|
+
* distributed by the Copyright Holder(s).
|
110
|
+
*
|
111
|
+
* "Modified Version" refers to any derivative made by adding to, deleting,
|
112
|
+
* or substituting -- in part or in whole -- any of the components of the
|
113
|
+
* Original Version, by changing formats or by porting the Font Software to a
|
114
|
+
* new environment.
|
115
|
+
*
|
116
|
+
* "Author" refers to any designer, engineer, programmer, technical
|
117
|
+
* writer or other person who contributed to the Font Software.
|
118
|
+
*
|
119
|
+
* PERMISSION & CONDITIONS
|
120
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
121
|
+
* a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
122
|
+
* redistribute, and sell modified and unmodified copies of the Font
|
123
|
+
* Software, subject to the following conditions:
|
124
|
+
*
|
125
|
+
* 1) Neither the Font Software nor any of its individual components,
|
126
|
+
* in Original or Modified Versions, may be sold by itself.
|
127
|
+
*
|
128
|
+
* 2) Original or Modified Versions of the Font Software may be bundled,
|
129
|
+
* redistributed and/or sold with any software, provided that each copy
|
130
|
+
* contains the above copyright notice and this license. These can be
|
131
|
+
* included either as stand-alone text files, human-readable headers or
|
132
|
+
* in the appropriate machine-readable metadata fields within text or
|
133
|
+
* binary files as long as those fields can be easily viewed by the user.
|
134
|
+
*
|
135
|
+
* 3) No Modified Version of the Font Software may use the Reserved Font
|
136
|
+
* Name(s) unless explicit written permission is granted by the corresponding
|
137
|
+
* Copyright Holder. This restriction only applies to the primary font name as
|
138
|
+
* presented to the users.
|
139
|
+
*
|
140
|
+
* 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
141
|
+
* Software shall not be used to promote, endorse or advertise any
|
142
|
+
* Modified Version, except to acknowledge the contribution(s) of the
|
143
|
+
* Copyright Holder(s) and the Author(s) or with their explicit written
|
144
|
+
* permission.
|
145
|
+
*
|
146
|
+
* 5) The Font Software, modified or unmodified, in part or in whole,
|
147
|
+
* must be distributed entirely under this license, and must not be
|
148
|
+
* distributed under any other license. The requirement for fonts to
|
149
|
+
* remain under this license does not apply to any document created
|
150
|
+
* using the Font Software.
|
151
|
+
*
|
152
|
+
* TERMINATION
|
153
|
+
* This license becomes null and void if any of the above conditions are
|
154
|
+
* not met.
|
155
|
+
*
|
156
|
+
* DISCLAIMER
|
157
|
+
* THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
158
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
159
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
160
|
+
* OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
161
|
+
* COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
162
|
+
* INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
163
|
+
* DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
164
|
+
* FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
165
|
+
* OTHER DEALINGS IN THE FONT SOFTWARE.
|
166
|
+
*/
|
167
|
+
|
data/doc/css/rdoc.css
ADDED
@@ -0,0 +1,668 @@
|
|
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
|
+
.hide {
|
13
|
+
display: none !important;
|
14
|
+
}
|
15
|
+
|
16
|
+
* {
|
17
|
+
padding: 0;
|
18
|
+
margin: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
body {
|
22
|
+
background: #fafafa;
|
23
|
+
font-family: Lato, sans-serif;
|
24
|
+
font-weight: 300;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 span,
|
28
|
+
h2 span,
|
29
|
+
h3 span,
|
30
|
+
h4 span,
|
31
|
+
h5 span,
|
32
|
+
h6 span {
|
33
|
+
position: relative;
|
34
|
+
|
35
|
+
display: none;
|
36
|
+
padding-left: 1em;
|
37
|
+
line-height: 0;
|
38
|
+
vertical-align: baseline;
|
39
|
+
font-size: 10px;
|
40
|
+
}
|
41
|
+
|
42
|
+
h1 span {
|
43
|
+
top: -1.3em;
|
44
|
+
}
|
45
|
+
h2 span {
|
46
|
+
top: -1.2em;
|
47
|
+
}
|
48
|
+
h3 span {
|
49
|
+
top: -1em;
|
50
|
+
}
|
51
|
+
h4 span {
|
52
|
+
top: -0.8em;
|
53
|
+
}
|
54
|
+
h5 span {
|
55
|
+
top: -0.5em;
|
56
|
+
}
|
57
|
+
h6 span {
|
58
|
+
top: -0.5em;
|
59
|
+
}
|
60
|
+
|
61
|
+
h1:hover span,
|
62
|
+
h2:hover span,
|
63
|
+
h3:hover span,
|
64
|
+
h4:hover span,
|
65
|
+
h5:hover span,
|
66
|
+
h6:hover span {
|
67
|
+
display: inline;
|
68
|
+
}
|
69
|
+
|
70
|
+
h1:target,
|
71
|
+
h2:target,
|
72
|
+
h3:target,
|
73
|
+
h4:target,
|
74
|
+
h5:target,
|
75
|
+
h6:target {
|
76
|
+
margin-left: -10px;
|
77
|
+
border-left: 10px solid #f1edba;
|
78
|
+
}
|
79
|
+
|
80
|
+
:link,
|
81
|
+
:visited {
|
82
|
+
color: #6c8c22;
|
83
|
+
text-decoration: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
:link:hover,
|
87
|
+
:visited:hover {
|
88
|
+
border-bottom: 1px dotted #6c8c22;
|
89
|
+
}
|
90
|
+
|
91
|
+
code,
|
92
|
+
pre {
|
93
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
94
|
+
background-color: rgba(27, 31, 35, 0.05);
|
95
|
+
padding: 0em 0.2em;
|
96
|
+
border-radius: 0.2em;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* @group Generic Classes */
|
100
|
+
|
101
|
+
.initially-hidden {
|
102
|
+
display: none;
|
103
|
+
}
|
104
|
+
|
105
|
+
#search-field {
|
106
|
+
width: 98%;
|
107
|
+
background: white;
|
108
|
+
border: none;
|
109
|
+
height: 1.5em;
|
110
|
+
-webkit-border-radius: 4px;
|
111
|
+
-moz-border-radius: 4px;
|
112
|
+
border-radius: 4px;
|
113
|
+
text-align: left;
|
114
|
+
}
|
115
|
+
#search-field:focus {
|
116
|
+
background: #f1edba;
|
117
|
+
}
|
118
|
+
#search-field:-moz-placeholder,
|
119
|
+
#search-field::-webkit-input-placeholder {
|
120
|
+
font-weight: bold;
|
121
|
+
color: #666;
|
122
|
+
}
|
123
|
+
|
124
|
+
.missing-docs {
|
125
|
+
font-size: 120%;
|
126
|
+
background: white url(../images/wrench_orange.png) no-repeat 4px center;
|
127
|
+
color: #ccc;
|
128
|
+
line-height: 2em;
|
129
|
+
border: 1px solid #d00;
|
130
|
+
opacity: 1;
|
131
|
+
padding-left: 20px;
|
132
|
+
text-indent: 24px;
|
133
|
+
letter-spacing: 3px;
|
134
|
+
font-weight: bold;
|
135
|
+
-webkit-border-radius: 5px;
|
136
|
+
-moz-border-radius: 5px;
|
137
|
+
}
|
138
|
+
|
139
|
+
.target-section {
|
140
|
+
border: 2px solid #dcce90;
|
141
|
+
border-left-width: 8px;
|
142
|
+
padding: 0 1em;
|
143
|
+
background: #fff3c2;
|
144
|
+
}
|
145
|
+
|
146
|
+
/* @end */
|
147
|
+
|
148
|
+
/* @group Index Page, Standalone file pages */
|
149
|
+
.table-of-contents ul {
|
150
|
+
margin: 1em;
|
151
|
+
list-style: none;
|
152
|
+
}
|
153
|
+
|
154
|
+
.table-of-contents ul ul {
|
155
|
+
margin-top: 0.25em;
|
156
|
+
}
|
157
|
+
|
158
|
+
.table-of-contents ul :link,
|
159
|
+
.table-of-contents ul :visited {
|
160
|
+
font-size: 16px;
|
161
|
+
}
|
162
|
+
|
163
|
+
.table-of-contents li {
|
164
|
+
margin-bottom: 0.25em;
|
165
|
+
}
|
166
|
+
|
167
|
+
.table-of-contents li .toc-toggle {
|
168
|
+
width: 16px;
|
169
|
+
height: 16px;
|
170
|
+
background: url(../images/add.png) no-repeat;
|
171
|
+
}
|
172
|
+
|
173
|
+
.table-of-contents li .toc-toggle.open {
|
174
|
+
background: url(../images/delete.png) no-repeat;
|
175
|
+
}
|
176
|
+
|
177
|
+
/* @end */
|
178
|
+
|
179
|
+
/* @group Top-Level Structure */
|
180
|
+
|
181
|
+
nav {
|
182
|
+
float: left;
|
183
|
+
width: 260px;
|
184
|
+
font-family: Helvetica, sans-serif;
|
185
|
+
font-size: 14px;
|
186
|
+
}
|
187
|
+
|
188
|
+
main {
|
189
|
+
display: block;
|
190
|
+
margin: 0 2em 5em 260px;
|
191
|
+
padding-left: 20px;
|
192
|
+
min-width: 340px;
|
193
|
+
font-size: 16px;
|
194
|
+
}
|
195
|
+
|
196
|
+
main h1,
|
197
|
+
main h2,
|
198
|
+
main h3,
|
199
|
+
main h4,
|
200
|
+
main h5,
|
201
|
+
main h6 {
|
202
|
+
font-family: Helvetica, sans-serif;
|
203
|
+
}
|
204
|
+
|
205
|
+
.table-of-contents main {
|
206
|
+
margin-left: 2em;
|
207
|
+
}
|
208
|
+
|
209
|
+
#validator-badges {
|
210
|
+
clear: both;
|
211
|
+
margin: 1em 1em 2em;
|
212
|
+
font-size: smaller;
|
213
|
+
}
|
214
|
+
|
215
|
+
/* @end */
|
216
|
+
|
217
|
+
/* @group navigation */
|
218
|
+
nav {
|
219
|
+
margin-bottom: 1em;
|
220
|
+
}
|
221
|
+
|
222
|
+
nav .nav-section {
|
223
|
+
margin-top: 2em;
|
224
|
+
border-top: 2px solid #aaa;
|
225
|
+
font-size: 90%;
|
226
|
+
overflow: hidden;
|
227
|
+
}
|
228
|
+
|
229
|
+
nav h2 {
|
230
|
+
margin: 0;
|
231
|
+
padding: 2px 8px 2px 8px;
|
232
|
+
background-color: #e8e8e8;
|
233
|
+
color: #555;
|
234
|
+
font-size: 125%;
|
235
|
+
text-align: center;
|
236
|
+
}
|
237
|
+
|
238
|
+
nav h3,
|
239
|
+
#table-of-contents-navigation {
|
240
|
+
margin: 0;
|
241
|
+
padding: 2px 8px 2px 8px;
|
242
|
+
text-align: right;
|
243
|
+
background-color: #e8e8e8;
|
244
|
+
color: #555;
|
245
|
+
}
|
246
|
+
|
247
|
+
nav ul,
|
248
|
+
nav dl,
|
249
|
+
nav p {
|
250
|
+
padding: 4px 8px 0;
|
251
|
+
list-style: none;
|
252
|
+
}
|
253
|
+
|
254
|
+
#project-navigation .nav-section {
|
255
|
+
margin: 0;
|
256
|
+
border-top: 0;
|
257
|
+
}
|
258
|
+
|
259
|
+
#home-section h2 {
|
260
|
+
text-align: center;
|
261
|
+
}
|
262
|
+
|
263
|
+
#table-of-contents-navigation {
|
264
|
+
font-size: 1.2em;
|
265
|
+
font-weight: bold;
|
266
|
+
text-align: center;
|
267
|
+
}
|
268
|
+
|
269
|
+
#search-section {
|
270
|
+
margin-top: 0;
|
271
|
+
border-top: 0;
|
272
|
+
}
|
273
|
+
|
274
|
+
#search-field-wrapper {
|
275
|
+
border-top: 1px solid #aaa;
|
276
|
+
border-bottom: 1px solid #aaa;
|
277
|
+
padding: 3px 8px;
|
278
|
+
background-color: #e8e8e8;
|
279
|
+
color: #555;
|
280
|
+
}
|
281
|
+
|
282
|
+
ul.link-list li {
|
283
|
+
white-space: nowrap;
|
284
|
+
line-height: 1.4em;
|
285
|
+
}
|
286
|
+
|
287
|
+
ul.link-list .type {
|
288
|
+
font-size: 8px;
|
289
|
+
text-transform: uppercase;
|
290
|
+
color: white;
|
291
|
+
background: #969696;
|
292
|
+
padding: 2px 4px;
|
293
|
+
-webkit-border-radius: 5px;
|
294
|
+
}
|
295
|
+
|
296
|
+
dl.label-list dt {
|
297
|
+
float: left;
|
298
|
+
margin-right: 1em;
|
299
|
+
}
|
300
|
+
|
301
|
+
.calls-super {
|
302
|
+
background: url(../images/arrow_up.png) no-repeat right center;
|
303
|
+
}
|
304
|
+
|
305
|
+
/* @end */
|
306
|
+
|
307
|
+
/* @group Documentation Section */
|
308
|
+
main {
|
309
|
+
color: #333;
|
310
|
+
}
|
311
|
+
|
312
|
+
main > h1:first-child,
|
313
|
+
main > h2:first-child,
|
314
|
+
main > h3:first-child,
|
315
|
+
main > h4:first-child,
|
316
|
+
main > h5:first-child,
|
317
|
+
main > h6:first-child {
|
318
|
+
margin-top: 0px;
|
319
|
+
}
|
320
|
+
|
321
|
+
main sup {
|
322
|
+
vertical-align: super;
|
323
|
+
font-size: 0.8em;
|
324
|
+
}
|
325
|
+
|
326
|
+
/* The heading with the class name */
|
327
|
+
main h1[class] {
|
328
|
+
margin-top: 0;
|
329
|
+
margin-bottom: 1em;
|
330
|
+
font-size: 2em;
|
331
|
+
color: #6c8c22;
|
332
|
+
}
|
333
|
+
|
334
|
+
main h1 {
|
335
|
+
margin: 2em 0 0.5em;
|
336
|
+
font-size: 1.7em;
|
337
|
+
}
|
338
|
+
|
339
|
+
main h2 {
|
340
|
+
margin: 2em 0 0.5em;
|
341
|
+
font-size: 1.5em;
|
342
|
+
}
|
343
|
+
|
344
|
+
main h3 {
|
345
|
+
margin: 2em 0 0.5em;
|
346
|
+
font-size: 1.2em;
|
347
|
+
}
|
348
|
+
|
349
|
+
main h4 {
|
350
|
+
margin: 2em 0 0.5em;
|
351
|
+
font-size: 1.1em;
|
352
|
+
}
|
353
|
+
|
354
|
+
main h5 {
|
355
|
+
margin: 2em 0 0.5em;
|
356
|
+
font-size: 1em;
|
357
|
+
}
|
358
|
+
|
359
|
+
main h6 {
|
360
|
+
margin: 2em 0 0.5em;
|
361
|
+
font-size: 1em;
|
362
|
+
}
|
363
|
+
|
364
|
+
main p {
|
365
|
+
margin: 0 0 0.5em;
|
366
|
+
line-height: 1.4em;
|
367
|
+
}
|
368
|
+
|
369
|
+
main pre {
|
370
|
+
margin: 1.2em 0.5em;
|
371
|
+
padding: 1em;
|
372
|
+
font-size: 0.8em;
|
373
|
+
}
|
374
|
+
|
375
|
+
main hr {
|
376
|
+
margin: 1.5em 1em;
|
377
|
+
border: 2px solid #ddd;
|
378
|
+
}
|
379
|
+
|
380
|
+
main blockquote {
|
381
|
+
margin: 0 2em 1.2em 1.2em;
|
382
|
+
padding-left: 0.5em;
|
383
|
+
border-left: 2px solid #ddd;
|
384
|
+
}
|
385
|
+
|
386
|
+
main ol,
|
387
|
+
main ul {
|
388
|
+
margin: 1em 2em;
|
389
|
+
}
|
390
|
+
|
391
|
+
main li > p {
|
392
|
+
margin-bottom: 0.5em;
|
393
|
+
}
|
394
|
+
|
395
|
+
main dl {
|
396
|
+
margin: 1em 0.5em;
|
397
|
+
}
|
398
|
+
|
399
|
+
main dt {
|
400
|
+
margin-bottom: 0.5em;
|
401
|
+
font-weight: bold;
|
402
|
+
}
|
403
|
+
|
404
|
+
main dd {
|
405
|
+
margin: 0 1em 1em 0.5em;
|
406
|
+
}
|
407
|
+
|
408
|
+
main header h2 {
|
409
|
+
margin-top: 2em;
|
410
|
+
border-width: 0;
|
411
|
+
border-top: 4px solid #bbb;
|
412
|
+
font-size: 130%;
|
413
|
+
}
|
414
|
+
|
415
|
+
main header h3 {
|
416
|
+
margin: 2em 0 1.5em;
|
417
|
+
border-width: 0;
|
418
|
+
border-top: 3px solid #bbb;
|
419
|
+
font-size: 120%;
|
420
|
+
}
|
421
|
+
|
422
|
+
.documentation-section-title {
|
423
|
+
position: relative;
|
424
|
+
}
|
425
|
+
.documentation-section-title .section-click-top {
|
426
|
+
position: absolute;
|
427
|
+
top: 6px;
|
428
|
+
left: 12px;
|
429
|
+
font-size: 10px;
|
430
|
+
color: #9b9877;
|
431
|
+
visibility: hidden;
|
432
|
+
padding-left: 0.5px;
|
433
|
+
}
|
434
|
+
|
435
|
+
.documentation-section-title:hover .section-click-top {
|
436
|
+
visibility: visible;
|
437
|
+
}
|
438
|
+
|
439
|
+
.constants-list > dl {
|
440
|
+
margin: 1em 0 2em;
|
441
|
+
border: 0;
|
442
|
+
}
|
443
|
+
|
444
|
+
.constants-list > dl dt {
|
445
|
+
margin-bottom: 0.75em;
|
446
|
+
padding-left: 0;
|
447
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
448
|
+
font-size: 110%;
|
449
|
+
}
|
450
|
+
|
451
|
+
.constants-list > dl dt a {
|
452
|
+
color: inherit;
|
453
|
+
}
|
454
|
+
|
455
|
+
.constants-list > dl dd {
|
456
|
+
margin: 0 0 2em 0;
|
457
|
+
padding: 0;
|
458
|
+
color: #666;
|
459
|
+
}
|
460
|
+
|
461
|
+
.documentation-section h2 {
|
462
|
+
position: relative;
|
463
|
+
}
|
464
|
+
|
465
|
+
.documentation-section h2 a {
|
466
|
+
position: absolute;
|
467
|
+
top: 8px;
|
468
|
+
right: 10px;
|
469
|
+
font-size: 12px;
|
470
|
+
color: #9b9877;
|
471
|
+
visibility: hidden;
|
472
|
+
}
|
473
|
+
|
474
|
+
.documentation-section h2:hover a {
|
475
|
+
visibility: visible;
|
476
|
+
}
|
477
|
+
|
478
|
+
/* @group Method Details */
|
479
|
+
|
480
|
+
main .method-source-code {
|
481
|
+
max-height: 0;
|
482
|
+
overflow: hidden;
|
483
|
+
transition-duration: 200ms;
|
484
|
+
transition-delay: 0ms;
|
485
|
+
transition-property: all;
|
486
|
+
transition-timing-function: ease-in-out;
|
487
|
+
}
|
488
|
+
|
489
|
+
main .method-source-code.active-menu {
|
490
|
+
max-height: 100vh;
|
491
|
+
}
|
492
|
+
|
493
|
+
main .method-source-code {
|
494
|
+
max-height: 100vh;
|
495
|
+
}
|
496
|
+
|
497
|
+
main .method-description .method-calls-super {
|
498
|
+
color: #333;
|
499
|
+
font-weight: bold;
|
500
|
+
}
|
501
|
+
|
502
|
+
main .method-detail {
|
503
|
+
margin-bottom: 2.5em;
|
504
|
+
/* cursor: pointer; */
|
505
|
+
cursor: default;
|
506
|
+
}
|
507
|
+
|
508
|
+
main .method-detail:target {
|
509
|
+
margin-left: -10px;
|
510
|
+
border-left: 10px solid #f1edba;
|
511
|
+
}
|
512
|
+
|
513
|
+
main .method-heading {
|
514
|
+
position: relative;
|
515
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
516
|
+
font-size: 110%;
|
517
|
+
font-weight: bold;
|
518
|
+
color: #333;
|
519
|
+
}
|
520
|
+
main .method-heading :link,
|
521
|
+
main .method-heading :visited {
|
522
|
+
color: inherit;
|
523
|
+
}
|
524
|
+
main .method-click-advice {
|
525
|
+
/* added */
|
526
|
+
display: none;
|
527
|
+
position: absolute;
|
528
|
+
top: 2px;
|
529
|
+
right: 5px;
|
530
|
+
font-size: 12px;
|
531
|
+
color: #9b9877;
|
532
|
+
visibility: hidden;
|
533
|
+
padding-right: 20px;
|
534
|
+
line-height: 20px;
|
535
|
+
background: url(../images/zoom.png) no-repeat right top;
|
536
|
+
}
|
537
|
+
main .method-heading:hover .method-click-advice {
|
538
|
+
visibility: visible;
|
539
|
+
}
|
540
|
+
|
541
|
+
main .method-alias .method-heading {
|
542
|
+
color: #666;
|
543
|
+
}
|
544
|
+
|
545
|
+
main .method-description,
|
546
|
+
main .aliases {
|
547
|
+
margin-top: 0.75em;
|
548
|
+
color: #333;
|
549
|
+
}
|
550
|
+
|
551
|
+
main .aliases {
|
552
|
+
padding-top: 4px;
|
553
|
+
font-style: italic;
|
554
|
+
cursor: default;
|
555
|
+
}
|
556
|
+
main .method-description ul {
|
557
|
+
margin-left: 1.5em;
|
558
|
+
}
|
559
|
+
|
560
|
+
main #attribute-method-details .method-detail:hover {
|
561
|
+
background-color: transparent;
|
562
|
+
cursor: default;
|
563
|
+
}
|
564
|
+
main .attribute-access-type {
|
565
|
+
text-transform: uppercase;
|
566
|
+
padding: 0 1em;
|
567
|
+
}
|
568
|
+
/* @end */
|
569
|
+
|
570
|
+
/* @end */
|
571
|
+
|
572
|
+
/* @group Source Code */
|
573
|
+
|
574
|
+
pre {
|
575
|
+
margin: 0.5em 0;
|
576
|
+
border: 1px dashed #999;
|
577
|
+
padding: 0.5em;
|
578
|
+
background: #262626;
|
579
|
+
color: white;
|
580
|
+
overflow: auto;
|
581
|
+
}
|
582
|
+
|
583
|
+
.ruby-constant {
|
584
|
+
color: #7fffd4;
|
585
|
+
background: transparent;
|
586
|
+
}
|
587
|
+
.ruby-keyword {
|
588
|
+
color: #00ffff;
|
589
|
+
background: transparent;
|
590
|
+
}
|
591
|
+
.ruby-ivar {
|
592
|
+
color: #eedd82;
|
593
|
+
background: transparent;
|
594
|
+
}
|
595
|
+
.ruby-operator {
|
596
|
+
color: #00ffee;
|
597
|
+
background: transparent;
|
598
|
+
}
|
599
|
+
.ruby-identifier {
|
600
|
+
color: #ffdead;
|
601
|
+
background: transparent;
|
602
|
+
}
|
603
|
+
.ruby-node {
|
604
|
+
color: #ffa07a;
|
605
|
+
background: transparent;
|
606
|
+
}
|
607
|
+
.ruby-comment {
|
608
|
+
color: #dc0000;
|
609
|
+
background: transparent;
|
610
|
+
}
|
611
|
+
.ruby-regexp {
|
612
|
+
color: #ffa07a;
|
613
|
+
background: transparent;
|
614
|
+
}
|
615
|
+
.ruby-value {
|
616
|
+
color: #7fffd4;
|
617
|
+
background: transparent;
|
618
|
+
}
|
619
|
+
|
620
|
+
/* @end */
|
621
|
+
|
622
|
+
/* @group search results */
|
623
|
+
#search-results {
|
624
|
+
font-family: Lato, sans-serif;
|
625
|
+
font-weight: 300;
|
626
|
+
}
|
627
|
+
|
628
|
+
#search-results .search-match {
|
629
|
+
font-family: Helvetica, sans-serif;
|
630
|
+
font-weight: normal;
|
631
|
+
}
|
632
|
+
|
633
|
+
#search-results .search-selected {
|
634
|
+
background: #e8e8e8;
|
635
|
+
border-bottom: 1px solid transparent;
|
636
|
+
}
|
637
|
+
|
638
|
+
#search-results li {
|
639
|
+
list-style: none;
|
640
|
+
border-bottom: 1px solid #aaa;
|
641
|
+
margin-bottom: 0.5em;
|
642
|
+
}
|
643
|
+
|
644
|
+
#search-results li:last-child {
|
645
|
+
border-bottom: none;
|
646
|
+
margin-bottom: 0;
|
647
|
+
}
|
648
|
+
|
649
|
+
#search-results li p {
|
650
|
+
padding: 0;
|
651
|
+
margin: 0.5em;
|
652
|
+
}
|
653
|
+
|
654
|
+
#search-results .search-namespace {
|
655
|
+
font-weight: bold;
|
656
|
+
}
|
657
|
+
|
658
|
+
#search-results li em {
|
659
|
+
background: yellow;
|
660
|
+
font-style: normal;
|
661
|
+
}
|
662
|
+
|
663
|
+
#search-results pre {
|
664
|
+
margin: 0.5em;
|
665
|
+
font-family: "Source Code Pro", Monaco, monospace;
|
666
|
+
}
|
667
|
+
|
668
|
+
/* @end */
|