hookapp 2.1.1 → 2.1.2

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.
@@ -1,11 +1,17 @@
1
1
  <!DOCTYPE html>
2
2
 
3
- <html>
3
+ <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
7
 
7
8
  <title>module Hook::PromptSTD - hookapp</title>
8
9
 
10
+ <meta name="keywords" content="ruby,module,Hook::PromptSTD">
11
+
12
+ <meta name="description" content="Documentation for the Hook::PromptSTD module">
13
+
14
+
9
15
  <script type="text/javascript">
10
16
  var rdoc_rel_prefix = "../";
11
17
  var index_rel_prefix = "../";
@@ -22,7 +28,12 @@
22
28
 
23
29
 
24
30
  <body id="top" role="document" class="module">
25
- <nav role="navigation">
31
+ <div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
32
+ <span aria-hidden="true">&#9776;</span>
33
+ </div>
34
+
35
+
36
+ <nav id="navigation" role="navigation">
26
37
  <div id="project-navigation">
27
38
  <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
39
  <h2>
@@ -41,7 +52,7 @@
41
52
  <div id="search-field-wrapper">
42
53
  <input id="search-field" role="combobox" aria-label="Search"
43
54
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
55
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
56
  title="Type to search, Up and Down to navigate, Enter to load">
46
57
  </div>
47
58
 
@@ -54,29 +65,53 @@
54
65
  </div>
55
66
 
56
67
 
68
+
69
+
70
+
71
+
72
+
57
73
 
58
- <div id="class-metadata">
59
-
60
-
61
-
62
-
63
-
64
- <!-- Method Quickref -->
65
- <div id="method-list-section" class="nav-section">
66
- <h3>Methods</h3>
67
-
68
- <ul class="link-list" role="directory">
69
- <li ><a href="#method-i-clear_screen">#clear_screen</a>
70
- <li ><a href="#method-i-restore_std">#restore_std</a>
71
- <li ><a href="#method-i-silence_std">#silence_std</a>
72
- </ul>
73
- </div>
74
74
 
75
+ <div class="nav-section">
76
+ <h3>Instance Methods</h3>
77
+ <ul class="link-list" role="directory">
78
+ <li ><a href="#method-i-clear_screen">clear_screen</a></li>
79
+ <li ><a href="#method-i-restore_std">restore_std</a></li>
80
+ <li ><a href="#method-i-silence_std">silence_std</a></li>
81
+ </ul>
75
82
  </div>
83
+
84
+
85
+
86
+ <footer id="validator-badges" role="contentinfo">
87
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
88
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
89
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
90
+ </footer>
91
+
76
92
  </nav>
77
93
 
78
94
  <main role="main" aria-labelledby="module-Hook::PromptSTD">
79
- <h1 id="module-Hook::PromptSTD" class="module">
95
+
96
+
97
+ <ol role="navigation" aria-label="breadcrumb" class="breadcrumb">
98
+
99
+ <li>
100
+
101
+ <a href="../Hook.html">Hook</a><span>::</span>
102
+
103
+ </li>
104
+
105
+ <li>
106
+
107
+ <span>PromptSTD</span>
108
+
109
+ </li>
110
+
111
+ </ol>
112
+
113
+
114
+ <h1 id="module-Hook::PromptSTD" class="anchor-link module">
80
115
  module Hook::PromptSTD
81
116
  </h1>
82
117
 
@@ -84,27 +119,34 @@
84
119
 
85
120
  </section>
86
121
 
87
- <section id="5Buntitled-5D" class="documentation-section">
122
+ <section id="5Buntitled-5D" class="documentation-section anchor-link">
88
123
 
89
124
 
90
125
 
91
126
 
92
127
 
93
- <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
128
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section anchor-link">
94
129
  <header>
95
130
  <h3>Public Instance Methods</h3>
96
131
  </header>
97
132
 
98
- <div id="method-i-clear_screen" class="method-detail ">
99
- <div class="method-heading">
100
- <span class="method-name">clear_screen</span><span
101
- class="method-args">(msg = nil)</span>
102
- <span class="method-click-advice">click to toggle source</span>
133
+ <div id="method-i-clear_screen" class="method-detail anchor-link ">
134
+ <div class="method-header">
135
+ <div class="method-heading">
136
+ <a href="#method-i-clear_screen" title="Link to this method">
137
+ <span class="method-name">clear_screen</span>
138
+ <span class="method-args">(msg = nil)</span>
139
+ </a>
140
+ </div>
103
141
  </div>
104
142
 
105
- <div class="method-description">
106
- <p>Clear the terminal screen</p>
143
+ <div class="method-controls">
144
+ <details class="method-source-toggle">
145
+ <summary>Source</summary>
146
+ </details>
147
+ </div>
107
148
 
149
+ <div class="method-description">
108
150
  <div class="method-source-code" id="clear_screen-source">
109
151
  <pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 8</span>
110
152
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">clear_screen</span>(<span class="ruby-identifier">msg</span> = <span class="ruby-keyword">nil</span>)
@@ -112,21 +154,29 @@
112
154
  <span class="ruby-identifier">puts</span> <span class="ruby-identifier">msg</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">msg</span>.<span class="ruby-identifier">nil?</span>
113
155
  <span class="ruby-keyword">end</span></pre>
114
156
  </div>
157
+ <p>Clear the terminal screen</p>
115
158
  </div>
116
159
 
117
160
 
118
161
  </div>
119
162
 
120
- <div id="method-i-restore_std" class="method-detail ">
121
- <div class="method-heading">
122
- <span class="method-name">restore_std</span><span
123
- class="method-args">()</span>
124
- <span class="method-click-advice">click to toggle source</span>
163
+ <div id="method-i-restore_std" class="method-detail anchor-link ">
164
+ <div class="method-header">
165
+ <div class="method-heading">
166
+ <a href="#method-i-restore_std" title="Link to this method">
167
+ <span class="method-name">restore_std</span>
168
+ <span class="method-args">()</span>
169
+ </a>
170
+ </div>
125
171
  </div>
126
172
 
127
- <div class="method-description">
128
- <p>Restore silenced STDOUT and STDERR</p>
173
+ <div class="method-controls">
174
+ <details class="method-source-toggle">
175
+ <summary>Source</summary>
176
+ </details>
177
+ </div>
129
178
 
179
+ <div class="method-description">
130
180
  <div class="method-source-code" id="restore_std-source">
131
181
  <pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 26</span>
132
182
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">restore_std</span>
@@ -134,23 +184,29 @@
134
184
  <span class="ruby-identifier">$stderr</span> = <span class="ruby-constant">STDERR</span>
135
185
  <span class="ruby-keyword">end</span></pre>
136
186
  </div>
187
+ <p>Restore silenced STDOUT and STDERR</p>
137
188
  </div>
138
189
 
139
190
 
140
191
  </div>
141
192
 
142
- <div id="method-i-silence_std" class="method-detail ">
143
- <div class="method-heading">
144
- <span class="method-name">silence_std</span><span
145
- class="method-args">(file = &#39;/dev/null&#39;)</span>
146
- <span class="method-click-advice">click to toggle source</span>
193
+ <div id="method-i-silence_std" class="method-detail anchor-link ">
194
+ <div class="method-header">
195
+ <div class="method-heading">
196
+ <a href="#method-i-silence_std" title="Link to this method">
197
+ <span class="method-name">silence_std</span>
198
+ <span class="method-args">(file = &#39;/dev/null&#39;)</span>
199
+ </a>
200
+ </div>
147
201
  </div>
148
202
 
149
- <div class="method-description">
150
- <p>Redirect STDOUT and STDERR to /dev/null or file</p>
151
-
152
- <p>@param file [String] a file path to redirect to</p>
203
+ <div class="method-controls">
204
+ <details class="method-source-toggle">
205
+ <summary>Source</summary>
206
+ </details>
207
+ </div>
153
208
 
209
+ <div class="method-description">
154
210
  <div class="method-source-code" id="silence_std-source">
155
211
  <pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 18</span>
156
212
  <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">silence_std</span>(<span class="ruby-identifier">file</span> = <span class="ruby-string">&#39;/dev/null&#39;</span>)
@@ -158,6 +214,9 @@
158
214
  <span class="ruby-identifier">$stderr</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">file</span>, <span class="ruby-string">&#39;w&#39;</span>)
159
215
  <span class="ruby-keyword">end</span></pre>
160
216
  </div>
217
+ <p>Redirect STDOUT and STDERR to /dev/null or file</p>
218
+
219
+ <p>@param file [String] a file path to redirect to</p>
161
220
  </div>
162
221
 
163
222
 
@@ -168,10 +227,3 @@
168
227
  </section>
169
228
  </main>
170
229
 
171
-
172
- <footer id="validator-badges" role="contentinfo">
173
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
174
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
175
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
176
- </footer>
177
-
data/html/Hook.html CHANGED
@@ -1,11 +1,17 @@
1
1
  <!DOCTYPE html>
2
2
 
3
- <html>
3
+ <html lang="en">
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
7
 
7
8
  <title>module Hook - hookapp</title>
8
9
 
10
+ <meta name="keywords" content="ruby,module,Hook">
11
+
12
+ <meta name="description" content="Documentation for the Hook module">
13
+
14
+
9
15
  <script type="text/javascript">
10
16
  var rdoc_rel_prefix = "./";
11
17
  var index_rel_prefix = "./";
@@ -22,7 +28,12 @@
22
28
 
23
29
 
24
30
  <body id="top" role="document" class="module">
25
- <nav role="navigation">
31
+ <div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
32
+ <span aria-hidden="true">&#9776;</span>
33
+ </div>
34
+
35
+
36
+ <nav id="navigation" role="navigation">
26
37
  <div id="project-navigation">
27
38
  <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
39
  <h2>
@@ -41,7 +52,7 @@
41
52
  <div id="search-field-wrapper">
42
53
  <input id="search-field" role="combobox" aria-label="Search"
43
54
  aria-autocomplete="list" aria-controls="search-results"
44
- type="text" name="search" placeholder="Search" spellcheck="false"
55
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
56
  title="Type to search, Up and Down to navigate, Enter to load">
46
57
  </div>
47
58
 
@@ -54,18 +65,28 @@
54
65
  </div>
55
66
 
56
67
 
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ <footer id="validator-badges" role="contentinfo">
78
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
79
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
80
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
81
+ </footer>
57
82
 
58
- <div id="class-metadata">
59
-
60
-
61
-
62
-
63
-
64
- </div>
65
83
  </nav>
66
84
 
67
85
  <main role="main" aria-labelledby="module-Hook">
68
- <h1 id="module-Hook" class="module">
86
+
87
+
88
+
89
+ <h1 id="module-Hook" class="anchor-link module">
69
90
  module Hook
70
91
  </h1>
71
92
 
@@ -73,7 +94,7 @@
73
94
 
74
95
  </section>
75
96
 
76
- <section id="5Buntitled-5D" class="documentation-section">
97
+ <section id="5Buntitled-5D" class="documentation-section anchor-link">
77
98
 
78
99
 
79
100
  <section class="constants-list">
@@ -83,6 +104,7 @@
83
104
  <dl>
84
105
  <dt id="VERSION">VERSION
85
106
  <dd>
107
+
86
108
  </dl>
87
109
  </section>
88
110
 
@@ -91,10 +113,3 @@
91
113
  </section>
92
114
  </main>
93
115
 
94
-
95
- <footer id="validator-badges" role="contentinfo">
96
- <p><a href="https://validator.w3.org/check/referer">Validate</a>
97
- <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
98
- <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
99
- </footer>
100
-