patman 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/doc/_index.html CHANGED
@@ -1,10 +1,10 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.8.7.6
7
+ Documentation by YARD 0.9.16
8
8
 
9
9
  </title>
10
10
 
@@ -13,9 +13,8 @@
13
13
  <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
14
14
 
15
15
  <script type="text/javascript" charset="utf-8">
16
- hasFrames = window.top.frames.main ? true : false;
16
+ pathId = null;
17
17
  relpath = '';
18
- framesUrl = "frames.html#!_index.html";
19
18
  </script>
20
19
 
21
20
 
@@ -26,37 +25,34 @@
26
25
 
27
26
  </head>
28
27
  <body>
29
- <div id="header">
30
- <div id="menu">
31
-
28
+ <div class="nav_wrap">
29
+ <iframe id="nav" src="class_list.html?1"></iframe>
30
+ <div id="resizer"></div>
31
+ </div>
32
32
 
33
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
33
+ <div id="main" tabindex="-1">
34
+ <div id="header">
35
+ <div id="menu">
36
+
34
37
  </div>
35
38
 
36
- <div id="search">
39
+ <div id="search">
37
40
 
38
41
  <a class="full_list_link" id="class_list_link"
39
42
  href="class_list.html">
40
- Class List
41
- </a>
42
-
43
- <a class="full_list_link" id="method_list_link"
44
- href="method_list.html">
45
- Method List
46
- </a>
47
-
48
- <a class="full_list_link" id="file_list_link"
49
- href="file_list.html">
50
- File List
43
+
44
+ <svg width="24" height="24">
45
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
46
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
47
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
48
+ </svg>
51
49
  </a>
52
50
 
53
51
  </div>
54
- <div class="clear"></div>
55
- </div>
52
+ <div class="clear"></div>
53
+ </div>
56
54
 
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.16</h1>
60
56
  <div id="listing">
61
57
  <h1 class="alphaindex">Alphabetic Index</h1>
62
58
 
@@ -124,11 +120,12 @@
124
120
 
125
121
  </div>
126
122
 
127
- <div id="footer">
128
- Generated on Tue Mar 20 20:43:44 2018 by
123
+ <div id="footer">
124
+ Generated on Sat Oct 20 17:33:29 2018 by
129
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.8.7.6 (ruby-2.3.3).
126
+ 0.9.16 (ruby-2.5.1).
131
127
  </div>
132
128
 
129
+ </div>
133
130
  </body>
134
131
  </html>
data/doc/class_list.html CHANGED
@@ -1,8 +1,8 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1
+ <!DOCTYPE html>
3
2
  <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
5
+ <meta charset="utf-8" />
6
6
 
7
7
  <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
8
 
@@ -19,38 +19,31 @@
19
19
  <base id="base_target" target="_parent" />
20
20
  </head>
21
21
  <body>
22
- <script type="text/javascript" charset="utf-8">
23
- var hasFrames = false;
24
- try {
25
- hasFrames = window.top.frames.main ? true : false;
26
- } catch (e) { }
27
- if (hasFrames) {
28
- document.getElementById('base_target').target = 'main';
29
- document.body.className = 'frames';
30
- }
31
- </script>
32
22
  <div id="content">
33
- <h1 id="full_list_header">Class List</h1>
34
- <div id="nav">
35
-
36
- <span><a target="_self" href="class_list.html">
37
- Classes
38
- </a></span>
39
-
40
- <span><a target="_self" href="method_list.html">
41
- Methods
42
- </a></span>
43
-
44
- <span><a target="_self" href="file_list.html">
45
- Files
46
- </a></span>
47
-
23
+ <div class="fixed_header">
24
+ <h1 id="full_list_header">Class List</h1>
25
+ <div id="full_list_nav">
26
+
27
+ <span><a target="_self" href="class_list.html">
28
+ Classes
29
+ </a></span>
30
+
31
+ <span><a target="_self" href="method_list.html">
32
+ Methods
33
+ </a></span>
34
+
35
+ <span><a target="_self" href="file_list.html">
36
+ Files
37
+ </a></span>
38
+
39
+ </div>
40
+
41
+ <div id="search">Search: <input type="text" /></div>
48
42
  </div>
49
- <div id="search">Search: <input type="text" /></div>
50
43
 
51
44
  <ul id="full_list" class="class">
52
- <li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
53
- <li><a class='toggle'></a> <span class='object_link'><a href="Patman.html" title="Patman (class)">Patman</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Patman/PatmanError.html" title="Patman::PatmanError (class)">PatmanError</a></span> &lt; RuntimeError<small class='search_info'>Patman</small></li><li><span class='object_link'><a href="Patman/PatmanFileError.html" title="Patman::PatmanFileError (class)">PatmanFileError</a></span> &lt; PatmanError<small class='search_info'>Patman</small></li><li><span class='object_link'><a href="Patman/PatmanSearchError.html" title="Patman::PatmanSearchError (class)">PatmanSearchError</a></span> &lt; PatmanError<small class='search_info'>Patman</small></li></ul>
45
+ <li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
46
+ <li id='object_Patman' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Patman.html" title="Patman (class)">Patman</a></span> &lt; Object<small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Patman::PatmanError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Patman/PatmanError.html" title="Patman::PatmanError (class)">PatmanError</a></span> &lt; RuntimeError<small class='search_info'>Patman</small></div></li><li id='object_Patman::PatmanFileError' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Patman/PatmanFileError.html" title="Patman::PatmanFileError (class)">PatmanFileError</a></span> &lt; PatmanError<small class='search_info'>Patman</small></div></li><li id='object_Patman::PatmanSearchError' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Patman/PatmanSearchError.html" title="Patman::PatmanSearchError (class)">PatmanSearchError</a></span> &lt; PatmanError<small class='search_info'>Patman</small></div></li></ul></li>
54
47
 
55
48
  </ul>
56
49
  </div>
@@ -4,54 +4,55 @@ body {
4
4
  font-size: 13px;
5
5
  height: 101%;
6
6
  overflow-x: hidden;
7
+ background: #fafafa;
7
8
  }
8
9
 
9
10
  h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; }
10
11
  .clear { clear: both; }
12
+ .fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; }
11
13
  #search { position: absolute; right: 5px; top: 9px; padding-left: 24px; }
12
14
  #content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; }
13
- #full_list { padding: 0; list-style: none; margin-left: 0; }
15
+ #full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; }
14
16
  #full_list ul { padding: 0; }
15
- #full_list li { padding: 5px; padding-left: 12px; margin: 0; font-size: 1.1em; list-style: none; }
16
- #noresults { padding: 7px 12px; }
17
+ #full_list li { padding: 0; margin: 0; list-style: none; }
18
+ #full_list li .item { padding: 5px 5px 5px 12px; }
19
+ #noresults { padding: 7px 12px; background: #fff; }
17
20
  #content.insearch #noresults { margin-left: 7px; }
18
- ul.collapsed ul, ul.collapsed li { display: none; }
19
- ul.collapsed.search_uncollapsed { display: block; }
20
- ul.collapsed.search_uncollapsed li { display: list-item; }
21
+ li.collapsed ul { display: none; }
21
22
  li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; }
22
23
  li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; }
23
24
  li { color: #888; cursor: pointer; }
24
25
  li.deprecated { text-decoration: line-through; font-style: italic; }
25
- li.r1 { background: #f0f0f0; }
26
- li.r2 { background: #fafafa; }
27
- li:hover { background: #ddd; }
26
+ li.odd { background: #f0f0f0; }
27
+ li.even { background: #fafafa; }
28
+ .item:hover { background: #ddd; }
28
29
  li small:before { content: "("; }
29
30
  li small:after { content: ")"; }
30
31
  li small.search_info { display: none; }
31
- a:link, a:visited { text-decoration: none; color: #05a; }
32
- li.clicked { background: #05a; color: #ccc; }
33
- li.clicked a:link, li.clicked a:visited { color: #eee; }
34
- li.clicked a.toggle { opacity: 0.5; background-position: bottom right; }
32
+ a, a:visited { text-decoration: none; color: #05a; }
33
+ li.clicked > .item { background: #05a; color: #ccc; }
34
+ li.clicked > .item a, li.clicked > .item a:visited { color: #eee; }
35
+ li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; }
35
36
  li.collapsed.clicked a.toggle { background-position: top right; }
36
- #search input { border: 1px solid #bbb; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
37
- #nav { margin-left: 10px; font-size: 0.9em; display: none; color: #aaa; }
38
- #nav a:link, #nav a:visited { color: #358; }
39
- #nav a:hover { background: transparent; color: #5af; }
40
- .frames #nav span:after { content: ' | '; }
41
- .frames #nav span:last-child:after { content: ''; }
37
+ #search input { border: 1px solid #bbb; border-radius: 3px; }
38
+ #full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; }
39
+ #full_list_nav a, #nav a:visited { color: #358; }
40
+ #full_list_nav a:hover { background: transparent; color: #5af; }
41
+ #full_list_nav span:after { content: ' | '; }
42
+ #full_list_nav span:last-child:after { content: ''; }
42
43
 
43
- .frames #content h1 { margin-top: 0; }
44
- .frames li { white-space: nowrap; cursor: normal; }
45
- .frames li small { display: block; font-size: 0.8em; }
46
- .frames li small:before { content: ""; }
47
- .frames li small:after { content: ""; }
48
- .frames li small.search_info { display: none; }
49
- .frames #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
50
- .frames #content.insearch #search { background-position: center right; }
51
- .frames #search input { width: 110px; }
52
- .frames #nav { display: block; }
44
+ #content h1 { margin-top: 0; }
45
+ li { white-space: nowrap; cursor: normal; }
46
+ li small { display: block; font-size: 0.8em; }
47
+ li small:before { content: ""; }
48
+ li small:after { content: ""; }
49
+ li small.search_info { display: none; }
50
+ #search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; }
51
+ #content.insearch #search { background-position: center right; }
52
+ #search input { width: 110px; }
53
53
 
54
- #full_list.insearch li { display: none; }
55
- #full_list.insearch li.found { display: list-item; padding-left: 10px; }
54
+ #full_list.insearch ul { display: block; }
55
+ #full_list.insearch .item { display: none; }
56
+ #full_list.insearch .found { display: block; padding-left: 11px !important; }
56
57
  #full_list.insearch li a.toggle { display: none; }
57
58
  #full_list.insearch li small.search_info { display: block; }
data/doc/css/style.css CHANGED
@@ -1,9 +1,87 @@
1
+ html {
2
+ width: 100%;
3
+ height: 100%;
4
+ }
1
5
  body {
2
- padding: 0 20px;
3
6
  font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
4
7
  font-size: 13px;
8
+ width: 100%;
9
+ margin: 0;
10
+ padding: 0;
11
+ display: flex;
12
+ display: -webkit-flex;
13
+ display: -ms-flexbox;
14
+ }
15
+
16
+ #nav {
17
+ position: relative;
18
+ width: 100%;
19
+ height: 100%;
20
+ border: 0;
21
+ border-right: 1px dotted #eee;
22
+ overflow: auto;
5
23
  }
6
- body.frames { padding: 0 5px; }
24
+ .nav_wrap {
25
+ margin: 0;
26
+ padding: 0;
27
+ width: 20%;
28
+ height: 100%;
29
+ position: relative;
30
+ display: flex;
31
+ display: -webkit-flex;
32
+ display: -ms-flexbox;
33
+ flex-shrink: 0;
34
+ -webkit-flex-shrink: 0;
35
+ -ms-flex: 1 0;
36
+ }
37
+ #resizer {
38
+ position: absolute;
39
+ right: -5px;
40
+ top: 0;
41
+ width: 10px;
42
+ height: 100%;
43
+ cursor: col-resize;
44
+ z-index: 9999;
45
+ }
46
+ #main {
47
+ flex: 5 1;
48
+ -webkit-flex: 5 1;
49
+ -ms-flex: 5 1;
50
+ outline: none;
51
+ position: relative;
52
+ background: #fff;
53
+ padding: 1.2em;
54
+ padding-top: 0.2em;
55
+ }
56
+
57
+ @media (max-width: 920px) {
58
+ .nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; }
59
+ #resizer { display: none; }
60
+ #nav {
61
+ z-index: 9999;
62
+ background: #fff;
63
+ display: none;
64
+ position: absolute;
65
+ top: 40px;
66
+ right: 12px;
67
+ width: 500px;
68
+ max-width: 80%;
69
+ height: 80%;
70
+ overflow-y: scroll;
71
+ border: 1px solid #999;
72
+ border-collapse: collapse;
73
+ box-shadow: -7px 5px 25px #aaa;
74
+ border-radius: 2px;
75
+ }
76
+ }
77
+
78
+ @media (min-width: 920px) {
79
+ body { height: 100%; overflow: hidden; }
80
+ #main { height: 100%; overflow: auto; }
81
+ #search { display: none; }
82
+ }
83
+
84
+ #main img { max-width: 100%; }
7
85
  h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; }
8
86
  h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; }
9
87
  h1.title { margin-bottom: 10px; }
@@ -14,18 +92,41 @@ h2 {
14
92
  border-bottom: 1px #aaa solid;
15
93
  font-size: 1.4em;
16
94
  margin: 1.8em 0 0.5em;
95
+ position: relative;
96
+ }
97
+ h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; }
98
+ h2 small a {
99
+ display: block;
100
+ height: 20px;
101
+ border: 1px solid #aaa;
102
+ border-bottom: 0;
103
+ border-top-left-radius: 5px;
104
+ background: #f8f8f8;
105
+ position: relative;
106
+ padding: 2px 7px;
17
107
  }
18
- h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right; }
19
108
  .clear { clear: both; }
20
109
  .inline { display: inline; }
21
110
  .inline p:first-child { display: inline; }
111
+ .docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; }
112
+ .docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt {
113
+ color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em;
114
+ border-radius: 4px;
115
+ }
22
116
  .docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; }
23
117
  .docstring h1 { font-size: 1.2em; }
24
118
  .docstring h2 { font-size: 1.1em; }
25
119
  .docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; }
26
- .summary_desc .object_link, .docstring .object_link { font-family: monospace; }
120
+ .summary_desc .object_link a, .docstring .object_link a {
121
+ font-family: monospace; font-size: 1.05em;
122
+ color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em;
123
+ border-radius: 4px;
124
+ }
27
125
  .rdoc-term { padding-right: 25px; font-weight: bold; }
28
126
  .rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; }
127
+ .summary_desc pre.code .object_link a, .docstring pre.code .object_link a {
128
+ padding: 0px; background: inherit; color: inherit; border-radius: inherit;
129
+ }
29
130
 
30
131
  /* style for <table> */
31
132
  #filecontents table, .docstring table { border-collapse: collapse; }
@@ -48,17 +149,25 @@ h2 small { font-weight: normal; font-size: 0.7em; display: block; float: right;
48
149
 
49
150
  .note {
50
151
  color: #222;
51
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
52
- background: #e3e4e3; border: 1px solid #d5d5d5; padding: 7px 10px;
152
+ margin: 20px 0;
153
+ padding: 10px;
154
+ border: 1px solid #eee;
155
+ border-radius: 3px;
53
156
  display: block;
54
157
  }
158
+ .docstring .note {
159
+ border-left-color: #ccc;
160
+ border-left-width: 5px;
161
+ }
55
162
  .note.todo { background: #ffffc5; border-color: #ececaa; }
56
163
  .note.returns_void { background: #efefef; }
57
164
  .note.deprecated { background: #ffe5e5; border-color: #e9dada; }
165
+ .note.title.deprecated { background: #ffe5e5; border-color: #e9dada; }
58
166
  .note.private { background: #ffffc5; border-color: #ececaa; }
59
- .note.title { padding: 1px 5px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
167
+ .note.title { padding: 3px 6px; font-size: 0.9em; font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; display: inline; }
60
168
  .summary_signature + .note.title { margin-left: 7px; }
61
169
  h1 .note.title { font-size: 0.5em; font-weight: normal; padding: 3px 5px; position: relative; top: -3px; text-transform: capitalize; }
170
+ .note.title { background: #efefef; }
62
171
  .note.title.constructor { color: #fff; background: #6a98d6; border-color: #6689d6; }
63
172
  .note.title.writeonly { color: #fff; background: #45a638; border-color: #2da31d; }
64
173
  .note.title.readonly { color: #fff; background: #6a98d6; border-color: #6689d6; }
@@ -83,48 +192,72 @@ p.inherited {
83
192
  margin-left: 25px;
84
193
  }
85
194
 
86
- #filecontents dl.box, dl.box {
195
+ .box_info dl {
196
+ margin: 0;
87
197
  border: 0;
88
- width: 520px;
198
+ width: 100%;
89
199
  font-size: 1em;
200
+ display: flex;
201
+ display: -webkit-flex;
202
+ display: -ms-flexbox;
90
203
  }
91
- #filecontents dl.box dt, dl.box dt {
92
- float: left;
93
- display: block;
204
+ .box_info dl dt {
205
+ flex-shrink: 0;
206
+ -webkit-flex-shrink: 1;
207
+ -ms-flex-shrink: 1;
94
208
  width: 100px;
95
- margin: 0;
96
209
  text-align: right;
97
210
  font-weight: bold;
98
- background: transparent;
99
211
  border: 1px solid #aaa;
100
212
  border-width: 1px 0px 0px 1px;
101
213
  padding: 6px 0;
102
214
  padding-right: 10px;
103
215
  }
104
- #filecontents dl.box dd, dl.box dd {
105
- float: left;
106
- display: block;
107
- width: 380px;
108
- margin: 0;
216
+ .box_info dl dd {
217
+ flex-grow: 1;
218
+ -webkit-flex-grow: 1;
219
+ -ms-flex: 1;
220
+ max-width: 420px;
109
221
  padding: 6px 0;
110
222
  padding-right: 20px;
111
223
  border: 1px solid #aaa;
112
224
  border-width: 1px 1px 0 0;
225
+ overflow: hidden;
226
+ position: relative;
113
227
  }
114
- #filecontents dl.box .last, dl.box .last {
228
+ .box_info dl:last-child > * {
115
229
  border-bottom: 1px solid #aaa;
116
230
  }
117
- #filecontents dl.box .r1, dl.box .r1 { background: #eee; }
231
+ .box_info dl:nth-child(odd) > * { background: #eee; }
232
+ .box_info dl:nth-child(even) > * { background: #fff; }
233
+ .box_info dl > * { margin: 0; }
118
234
 
119
235
  ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
120
236
  .index_inline_list { padding-left: 0; font-size: 1.1em; }
121
- .index_inline_list li { list-style: none; display: inline; padding: 7px 12px; line-height: 35px; }
122
237
 
123
- dl.constants { margin-left: 40px; }
238
+ .index_inline_list li {
239
+ list-style: none;
240
+ display: inline-block;
241
+ padding: 0 12px;
242
+ line-height: 30px;
243
+ margin-bottom: 5px;
244
+ }
245
+
246
+ dl.constants { margin-left: 10px; }
124
247
  dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
248
+ dl.constants.compact dt { display: inline-block; font-weight: normal }
125
249
  dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
250
+ dl.constants .docstring .note:first-child { margin-top: 5px; }
126
251
 
127
- .summary_desc { margin-left: 32px; display: block; font-family: sans-serif; }
252
+ .summary_desc {
253
+ margin-left: 32px;
254
+ display: block;
255
+ font-family: sans-serif;
256
+ font-size: 1.1em;
257
+ margin-top: 8px;
258
+ line-height: 1.5145em;
259
+ margin-bottom: 0.8em;
260
+ }
128
261
  .summary_desc tt { font-size: 0.9em; }
129
262
  dl.constants .note { padding: 2px 6px; padding-right: 12px; margin-top: 6px; }
130
263
  dl.constants .docstring { margin-left: 32px; font-size: 0.9em; font-weight: normal; }
@@ -132,12 +265,13 @@ dl.constants .tags { padding-left: 32px; font-size: 0.9em; line-height: 0.8em; }
132
265
  dl.constants .discussion *:first-child { margin-top: 0; }
133
266
  dl.constants .discussion *:last-child { margin-bottom: 0; }
134
267
 
135
- .method_details { border-top: 1px dotted #aaa; margin-top: 15px; padding-top: 0; }
136
- .method_details.first { border: 0; }
268
+ .method_details { border-top: 1px dotted #ccc; margin-top: 25px; padding-top: 0; }
269
+ .method_details.first { border: 0; margin-top: 5px; }
270
+ .method_details.first h3.signature { margin-top: 1em; }
137
271
  p.signature, h3.signature {
138
272
  font-size: 1.1em; font-weight: normal; font-family: Monaco, Consolas, Courier, monospace;
139
- padding: 6px 10px; margin-top: 18px;
140
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
273
+ padding: 6px 10px; margin-top: 1em;
274
+ background: #E8F4FF; border: 1px solid #d8d8e5; border-radius: 5px;
141
275
  }
142
276
  p.signature tt,
143
277
  h3.signature tt { font-family: Monaco, Consolas, Courier, monospace; }
@@ -152,7 +286,8 @@ h3.signature .aliases { display: block; font-weight: normal; font-size: 0.9em; f
152
286
  p.signature .aliases .names,
153
287
  h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace; font-weight: bold; color: #000; font-size: 1.2em; }
154
288
 
155
- .tags .tag_title { font-size: 1em; margin-bottom: 0; font-weight: bold; }
289
+ .tags .tag_title { font-size: 1.05em; margin-bottom: 0; font-weight: bold; }
290
+ .tags .tag_title tt { color: initial; padding: initial; background: initial; }
156
291
  .tags ul { margin-top: 5px; padding-left: 30px; list-style: square; }
157
292
  .tags ul li { margin-bottom: 3px; }
158
293
  .tags ul .name { font-family: monospace; font-weight: bold; }
@@ -160,12 +295,13 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
160
295
  .tags { margin-bottom: 12px; }
161
296
 
162
297
  .tags .examples .tag_title { margin-bottom: 10px; font-weight: bold; }
163
- .tags .examples .inline p { padding: 0; margin: 0; margin-left: 15px; font-weight: bold; font-size: 0.9em; }
298
+ .tags .examples .inline p { padding: 0; margin: 0; font-weight: bold; font-size: 1em; }
299
+ .tags .examples .inline p:before { content: "▸"; font-size: 1em; margin-right: 5px; }
164
300
 
165
301
  .tags .overload .overload_item { list-style: none; margin-bottom: 25px; }
166
302
  .tags .overload .overload_item .signature {
167
303
  padding: 2px 8px;
168
- background: #e5e8ff; border: 1px solid #d8d8e5; -moz-border-radius: 3px; -webkit-border-radius: 3px;
304
+ background: #F1F8FF; border: 1px solid #d8d8e5; border-radius: 3px;
169
305
  }
170
306
  .tags .overload .signature { margin-left: -15px; font-family: monospace; display: block; font-size: 1.1em; }
171
307
  .tags .overload .docstring { margin-top: 15px; }
@@ -175,34 +311,31 @@ h3.signature .aliases .names { font-family: Monaco, Consolas, Courier, monospace
175
311
  #method_missing_details .notice.this { position: relative; top: -8px; color: #888; padding: 0; margin: 0; }
176
312
 
177
313
  .showSource { font-size: 0.9em; }
178
- .showSource a:link, .showSource a:visited { text-decoration: none; color: #666; }
314
+ .showSource a, .showSource a:visited { text-decoration: none; color: #666; }
179
315
 
180
- #content a:link, #content a:visited { text-decoration: none; color: #05a; }
316
+ #content a, #content a:visited { text-decoration: none; color: #05a; }
181
317
  #content a:hover { background: #ffffa5; }
182
- div.docstring, p.docstring { margin-right: 6em; }
183
318
 
184
319
  ul.summary {
185
320
  list-style: none;
186
321
  font-family: monospace;
187
322
  font-size: 1em;
188
323
  line-height: 1.5em;
324
+ padding-left: 0px;
189
325
  }
190
- ul.summary a:link, ul.summary a:visited {
326
+ ul.summary a, ul.summary a:visited {
191
327
  text-decoration: none; font-size: 1.1em;
192
328
  }
193
329
  ul.summary li { margin-bottom: 5px; }
194
- .summary .summary_signature {
195
- padding: 1px 10px;
196
- background: #eaeaff; border: 1px solid #dfdfe5;
197
- -moz-border-radius: 3px; -webkit-border-radius: 3px;
198
- }
199
- .summary_signature:hover { background: #eeeeff; cursor: pointer; }
330
+ .summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
331
+ .summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
332
+ .summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
200
333
  ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
201
334
  ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
202
- #content .summary_signature:hover a:link,
335
+ #content .summary_signature:hover a,
203
336
  #content .summary_signature:hover a:visited {
204
337
  background: transparent;
205
- color: #48f;
338
+ color: #049;
206
339
  }
207
340
 
208
341
  p.inherited a { font-family: monospace; font-size: 0.9em; }
@@ -221,37 +354,42 @@ ul.fullTree li:last-child { padding-bottom: 0; }
221
354
  .showAll ul.fullTree { display: block; }
222
355
  .showAll .inheritName { display: none; }
223
356
 
224
- #search { position: absolute; right: 14px; top: 0px; }
225
- #search a:link, #search a:visited {
226
- display: block; float: left; margin-right: 4px;
227
- padding: 8px 10px; text-decoration: none; color: #05a;
357
+ #search { position: absolute; right: 12px; top: 0px; z-index: 9000; }
358
+ #search a {
359
+ display: block; float: left;
360
+ padding: 4px 8px; text-decoration: none; color: #05a; fill: #05a;
228
361
  border: 1px solid #d8d8e5;
229
- -moz-border-radius-bottomleft: 3px; -moz-border-radius-bottomright: 3px;
230
- -webkit-border-bottom-left-radius: 3px; -webkit-border-bottom-right-radius: 3px;
231
- background: #eaf0ff;
232
- -webkit-box-shadow: -1px 1px 3px #ddd;
362
+ border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;
363
+ background: #F1F8FF;
364
+ box-shadow: -1px 1px 3px #ddd;
233
365
  }
234
- #search a:hover { background: #f5faff; color: #06b; }
366
+ #search a:hover { background: #f5faff; color: #06b; fill: #06b; }
235
367
  #search a.active {
236
- background: #568; padding-bottom: 20px; color: #fff; border: 1px solid #457;
237
- -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
238
- -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
368
+ background: #568; padding-bottom: 20px; color: #fff; fill: #fff;
369
+ border: 1px solid #457;
370
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
371
+ }
372
+ #search a.inactive { color: #999; fill: #999; }
373
+ .inheritanceTree, .toggleDefines {
374
+ float: right;
375
+ border-left: 1px solid #aaa;
376
+ position: absolute; top: 0; right: 0;
377
+ height: 100%;
378
+ background: #f6f6f6;
379
+ padding: 5px;
380
+ min-width: 55px;
381
+ text-align: center;
239
382
  }
240
- #search a.inactive { color: #999; }
241
- .frames #search { display: none; }
242
- .inheritanceTree, .toggleDefines { float: right; }
243
383
 
244
- #menu { font-size: 1.3em; color: #bbb; top: -5px; position: relative; }
384
+ #menu { font-size: 1.3em; color: #bbb; }
245
385
  #menu .title, #menu a { font-size: 0.7em; }
246
386
  #menu .title a { font-size: 1em; }
247
387
  #menu .title { color: #555; }
248
- #menu a:link, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
388
+ #menu a, #menu a:visited { color: #333; text-decoration: none; border-bottom: 1px dotted #bbd; }
249
389
  #menu a:hover { color: #05a; }
250
- #menu .noframes { display: inline; }
251
- .frames #menu .noframes { display: inline; float: right; }
252
390
 
253
391
  #footer { margin-top: 15px; border-top: 1px solid #ccc; text-align: center; padding: 7px 0; color: #999; }
254
- #footer a:link, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
392
+ #footer a, #footer a:visited { color: #444; text-decoration: none; border-bottom: 1px dotted #bbd; }
255
393
  #footer a:hover { color: #05a; }
256
394
 
257
395
  #listing ul.alpha { font-size: 1.1em; }
@@ -263,38 +401,23 @@ ul.fullTree li:last-child { padding-bottom: 0; }
263
401
  li.r1 { background: #f0f0f0; }
264
402
  li.r2 { background: #fafafa; }
265
403
 
266
- #search_frame {
267
- z-index: 9999;
268
- background: #fff;
269
- display: none;
270
- position: absolute;
271
- top: 36px;
272
- right: 18px;
273
- width: 500px;
274
- height: 80%;
275
- overflow-y: scroll;
276
- border: 1px solid #999;
277
- border-collapse: collapse;
278
- -webkit-box-shadow: -7px 5px 25px #aaa;
279
- -moz-box-shadow: -7px 5px 25px #aaa;
280
- -moz-border-radius: 2px;
281
- -webkit-border-radius: 2px;
282
- }
283
-
284
- #content ul.summary li.deprecated .summary_signature a:link,
404
+ #content ul.summary li.deprecated .summary_signature a,
285
405
  #content ul.summary li.deprecated .summary_signature a:visited { text-decoration: line-through; font-style: italic; }
286
406
 
287
407
  #toc {
288
- padding: 20px; padding-right: 30px; border: 1px solid #ddd; float: right; background: #fff; margin-left: 20px; margin-bottom: 20px;
289
- max-width: 300px;
290
- -webkit-box-shadow: -2px 2px 6px #bbb;
291
- -moz-box-shadow: -2px 2px 6px #bbb;
292
- z-index: 5000;
293
408
  position: relative;
409
+ float: right;
294
410
  overflow-x: auto;
411
+ right: -3px;
412
+ margin-left: 20px;
413
+ margin-bottom: 20px;
414
+ padding: 20px; padding-right: 30px;
415
+ max-width: 300px;
416
+ z-index: 5000;
417
+ background: #fefefe;
418
+ border: 1px solid #ddd;
419
+ box-shadow: -2px 2px 6px #bbb;
295
420
  }
296
- #toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
297
- #toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
298
421
  #toc .title { margin: 0; }
299
422
  #toc ol { padding-left: 1.8em; }
300
423
  #toc li { font-size: 1.1em; line-height: 1.7em; }
@@ -302,8 +425,17 @@ li.r2 { background: #fafafa; }
302
425
  #toc ol > ol { font-size: 0.9em; }
303
426
  #toc ol ol > ol { padding-left: 2.3em; }
304
427
  #toc ol + li { margin-top: 0.3em; }
305
- #toc.hidden { padding: 10px; background: #f6f6f6; -webkit-box-shadow: none; -moz-box-shadow: none; }
428
+ #toc.hidden { padding: 10px; background: #fefefe; box-shadow: none; }
429
+ #toc.hidden:hover { background: #fafafa; }
306
430
  #filecontents h1 + #toc.nofloat { margin-top: 0; }
431
+ @media (max-width: 560px) {
432
+ #toc {
433
+ margin-left: 0;
434
+ margin-top: 16px;
435
+ float: none;
436
+ max-width: none;
437
+ }
438
+ }
307
439
 
308
440
  /* syntax highlighting */
309
441
  .source_code { display: none; padding: 3px 8px; border-left: 8px solid #ddd; margin-top: 5px; }
@@ -311,13 +443,25 @@ li.r2 { background: #fafafa; }
311
443
  #filecontents pre.code, .docstring pre.code { display: block; }
312
444
  .source_code .lines { padding-right: 12px; color: #555; text-align: right; }
313
445
  #filecontents pre.code, .docstring pre.code,
314
- .tags pre.example { padding: 5px 12px; margin-top: 4px; border: 1px solid #eef; background: #f5f5ff; }
315
- pre.code { color: #000; }
446
+ .tags pre.example {
447
+ padding: 9px 14px;
448
+ margin-top: 4px;
449
+ border: 1px solid #e1e1e8;
450
+ background: #f7f7f9;
451
+ border-radius: 4px;
452
+ font-size: 1em;
453
+ overflow-x: auto;
454
+ line-height: 1.2em;
455
+ }
456
+ pre.code { color: #000; tab-size: 2; }
316
457
  pre.code .info.file { color: #555; }
317
458
  pre.code .val { color: #036A07; }
318
459
  pre.code .tstring_content,
319
460
  pre.code .heredoc_beg, pre.code .heredoc_end,
320
- pre.code .qwords_beg, pre.code .qwords_end,
461
+ pre.code .qwords_beg, pre.code .qwords_end, pre.code .qwords_sep,
462
+ pre.code .words_beg, pre.code .words_end, pre.code .words_sep,
463
+ pre.code .qsymbols_beg, pre.code .qsymbols_end, pre.code .qsymbols_sep,
464
+ pre.code .symbols_beg, pre.code .symbols_end, pre.code .symbols_sep,
321
465
  pre.code .tstring, pre.code .dstring { color: #036A07; }
322
466
  pre.code .fid, pre.code .rubyid_new, pre.code .rubyid_to_s,
323
467
  pre.code .rubyid_to_sym, pre.code .rubyid_to_f,
@@ -337,3 +481,16 @@ pre.code .rubyid_backref,
337
481
  pre.code .rubyid_nth_ref { color: #6D79DE; }
338
482
  pre.code .regexp, .dregexp { color: #036A07; }
339
483
  pre.code a { border-bottom: 1px dotted #bbf; }
484
+ /* inline code */
485
+ *:not(pre) > code {
486
+ padding: 1px 3px 1px 3px;
487
+ border: 1px solid #E1E1E8;
488
+ background: #F7F7F9;
489
+ border-radius: 4px;
490
+ }
491
+
492
+ /* Color fix for links */
493
+ #content .summary_desc pre.code .id > .object_link a, /* identifier */
494
+ #content .docstring pre.code .id > .object_link a { color: #0085FF; }
495
+ #content .summary_desc pre.code .const > .object_link a, /* constant */
496
+ #content .docstring pre.code .const > .object_link a { color: #585CF6; }