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.
- checksums.yaml +4 -4
- data/bin/hook +1 -1
- data/hookapp.gemspec +1 -1
- data/html/App.html +36 -24
- data/html/GLI/Commands/Doc.html +55 -19
- data/html/GLI/Commands/MarkdownDocumentListener.html +309 -151
- data/html/GLI/Commands.html +49 -19
- data/html/GLI.html +33 -19
- data/html/Hook/Prompt.html +50 -20
- data/html/Hook/PromptFZF.html +129 -69
- data/html/Hook/PromptSTD.html +104 -52
- data/html/Hook.html +34 -19
- data/html/HookApp.html +487 -265
- data/html/Hooker.html +60 -42
- data/html/Object.html +36 -23
- data/html/README_rdoc.html +180 -75
- data/html/String.html +185 -103
- data/html/created.rid +10 -10
- data/html/css/rdoc.css +402 -358
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/index.html +193 -45
- data/html/js/darkfish.js +38 -2
- data/html/js/navigation.js +8 -8
- data/html/js/navigation.js.gz +0 -0
- data/html/js/search.js +4 -4
- data/html/js/search_index.js +1 -1
- data/html/js/search_index.js.gz +0 -0
- data/html/js/searcher.js.gz +0 -0
- data/html/table_of_contents.html +52 -8
- data/lib/hook/hookapp.rb +8 -4
- data/lib/hook/version.rb +1 -1
- metadata +3 -3
data/html/GLI/Commands.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 GLI::Commands - hookapp</title>
|
|
8
9
|
|
|
10
|
+
<meta name="keywords" content="ruby,module,GLI::Commands">
|
|
11
|
+
|
|
12
|
+
<meta name="description" content="Documentation for the GLI::Commands 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
|
-
<
|
|
31
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
32
|
+
<span aria-hidden="true">☰</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,44 @@
|
|
|
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-GLI::Commands">
|
|
68
|
-
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
<ol role="navigation" aria-label="breadcrumb" class="breadcrumb">
|
|
89
|
+
|
|
90
|
+
<li>
|
|
91
|
+
|
|
92
|
+
<a href="../GLI.html">GLI</a><span>::</span>
|
|
93
|
+
|
|
94
|
+
</li>
|
|
95
|
+
|
|
96
|
+
<li>
|
|
97
|
+
|
|
98
|
+
<span>Commands</span>
|
|
99
|
+
|
|
100
|
+
</li>
|
|
101
|
+
|
|
102
|
+
</ol>
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
<h1 id="module-GLI::Commands" class="anchor-link module">
|
|
69
106
|
module GLI::Commands
|
|
70
107
|
</h1>
|
|
71
108
|
|
|
@@ -73,7 +110,7 @@
|
|
|
73
110
|
|
|
74
111
|
</section>
|
|
75
112
|
|
|
76
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
113
|
+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
|
77
114
|
|
|
78
115
|
|
|
79
116
|
|
|
@@ -82,10 +119,3 @@
|
|
|
82
119
|
</section>
|
|
83
120
|
</main>
|
|
84
121
|
|
|
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.3.3.
|
|
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
|
-
|
data/html/GLI.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 GLI - hookapp</title>
|
|
8
9
|
|
|
10
|
+
<meta name="keywords" content="ruby,module,GLI">
|
|
11
|
+
|
|
12
|
+
<meta name="description" content="Documentation for the GLI 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
|
-
<
|
|
31
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
32
|
+
<span aria-hidden="true">☰</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-GLI">
|
|
68
|
-
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<h1 id="module-GLI" class="anchor-link module">
|
|
69
90
|
module GLI
|
|
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
|
|
|
@@ -82,10 +103,3 @@
|
|
|
82
103
|
</section>
|
|
83
104
|
</main>
|
|
84
105
|
|
|
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.3.3.
|
|
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
|
-
|
data/html/Hook/Prompt.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::Prompt - hookapp</title>
|
|
8
9
|
|
|
10
|
+
<meta name="keywords" content="ruby,module,Hook::Prompt">
|
|
11
|
+
|
|
12
|
+
<meta name="description" content="Documentation for the Hook::Prompt 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
|
-
<
|
|
31
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
32
|
+
<span aria-hidden="true">☰</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,11 +65,9 @@
|
|
|
54
65
|
</div>
|
|
55
66
|
|
|
56
67
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
62
71
|
<div id="includes-section" class="nav-section">
|
|
63
72
|
<h3>Included Modules</h3>
|
|
64
73
|
|
|
@@ -68,13 +77,41 @@
|
|
|
68
77
|
</ul>
|
|
69
78
|
</div>
|
|
70
79
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
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
|
+
|
|
74
92
|
</nav>
|
|
75
93
|
|
|
76
94
|
<main role="main" aria-labelledby="module-Hook::Prompt">
|
|
77
|
-
|
|
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>Prompt</span>
|
|
108
|
+
|
|
109
|
+
</li>
|
|
110
|
+
|
|
111
|
+
</ol>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<h1 id="module-Hook::Prompt" class="anchor-link module">
|
|
78
115
|
module Hook::Prompt
|
|
79
116
|
</h1>
|
|
80
117
|
|
|
@@ -82,7 +119,7 @@
|
|
|
82
119
|
|
|
83
120
|
</section>
|
|
84
121
|
|
|
85
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
122
|
+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
|
86
123
|
|
|
87
124
|
|
|
88
125
|
|
|
@@ -91,10 +128,3 @@
|
|
|
91
128
|
</section>
|
|
92
129
|
</main>
|
|
93
130
|
|
|
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
|
-
|
data/html/Hook/PromptFZF.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::PromptFZF - hookapp</title>
|
|
8
9
|
|
|
10
|
+
<meta name="keywords" content="ruby,module,Hook::PromptFZF">
|
|
11
|
+
|
|
12
|
+
<meta name="description" content="module Hook::PromptFZF: Methods for working installing/using FuzzyFileFinder">
|
|
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
|
-
<
|
|
31
|
+
<div id="navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="true" aria-controls="navigation">
|
|
32
|
+
<span aria-hidden="true">☰</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,30 +65,54 @@
|
|
|
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-fzf">#fzf</a>
|
|
70
|
-
<li ><a href="#method-i-install_fzf">#install_fzf</a>
|
|
71
|
-
<li ><a href="#method-i-uninstall_fzf">#uninstall_fzf</a>
|
|
72
|
-
<li ><a href="#method-i-which_fzf">#which_fzf</a>
|
|
73
|
-
</ul>
|
|
74
|
-
</div>
|
|
75
74
|
|
|
75
|
+
<div class="nav-section">
|
|
76
|
+
<h3>Instance Methods</h3>
|
|
77
|
+
<ul class="link-list" role="directory">
|
|
78
|
+
<li ><a href="#method-i-fzf">fzf</a></li>
|
|
79
|
+
<li ><a href="#method-i-install_fzf">install_fzf</a></li>
|
|
80
|
+
<li ><a href="#method-i-uninstall_fzf">uninstall_fzf</a></li>
|
|
81
|
+
<li ><a href="#method-i-which_fzf">which_fzf</a></li>
|
|
82
|
+
</ul>
|
|
76
83
|
</div>
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
<footer id="validator-badges" role="contentinfo">
|
|
88
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
89
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.14.0.
|
|
90
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
91
|
+
</footer>
|
|
92
|
+
|
|
77
93
|
</nav>
|
|
78
94
|
|
|
79
95
|
<main role="main" aria-labelledby="module-Hook::PromptFZF">
|
|
80
|
-
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<ol role="navigation" aria-label="breadcrumb" class="breadcrumb">
|
|
99
|
+
|
|
100
|
+
<li>
|
|
101
|
+
|
|
102
|
+
<a href="../Hook.html">Hook</a><span>::</span>
|
|
103
|
+
|
|
104
|
+
</li>
|
|
105
|
+
|
|
106
|
+
<li>
|
|
107
|
+
|
|
108
|
+
<span>PromptFZF</span>
|
|
109
|
+
|
|
110
|
+
</li>
|
|
111
|
+
|
|
112
|
+
</ol>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
<h1 id="module-Hook::PromptFZF" class="anchor-link module">
|
|
81
116
|
module Hook::PromptFZF
|
|
82
117
|
</h1>
|
|
83
118
|
|
|
@@ -87,57 +122,65 @@
|
|
|
87
122
|
|
|
88
123
|
</section>
|
|
89
124
|
|
|
90
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
|
125
|
+
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
|
91
126
|
|
|
92
127
|
|
|
93
128
|
|
|
94
129
|
|
|
95
130
|
|
|
96
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
|
131
|
+
<section id="public-instance-5Buntitled-5D-method-details" class="method-section anchor-link">
|
|
97
132
|
<header>
|
|
98
133
|
<h3>Public Instance Methods</h3>
|
|
99
134
|
</header>
|
|
100
135
|
|
|
101
|
-
<div id="method-i-fzf" class="method-detail ">
|
|
102
|
-
<div class="method-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
136
|
+
<div id="method-i-fzf" class="method-detail anchor-link ">
|
|
137
|
+
<div class="method-header">
|
|
138
|
+
<div class="method-heading">
|
|
139
|
+
<a href="#method-i-fzf" title="Link to this method">
|
|
140
|
+
<span class="method-name">fzf</span>
|
|
141
|
+
<span class="method-args">()</span>
|
|
142
|
+
</a>
|
|
143
|
+
</div>
|
|
106
144
|
</div>
|
|
107
145
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
146
|
+
<div class="method-controls">
|
|
147
|
+
<details class="method-source-toggle">
|
|
148
|
+
<summary>Source</summary>
|
|
149
|
+
</details>
|
|
150
|
+
</div>
|
|
112
151
|
|
|
152
|
+
<div class="method-description">
|
|
113
153
|
<div class="method-source-code" id="fzf-source">
|
|
114
154
|
<pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 39</span>
|
|
115
155
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fzf</span>
|
|
116
156
|
<span class="ruby-ivar">@fzf</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">install_fzf</span>
|
|
117
157
|
<span class="ruby-keyword">end</span></pre>
|
|
118
158
|
</div>
|
|
159
|
+
<p>Get path to fzf binary, installing if needed</p>
|
|
160
|
+
|
|
161
|
+
<p>@return [String] Path to fzf binary</p>
|
|
119
162
|
</div>
|
|
120
163
|
|
|
121
164
|
|
|
122
165
|
</div>
|
|
123
166
|
|
|
124
|
-
<div id="method-i-install_fzf" class="method-detail ">
|
|
125
|
-
<div class="method-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
167
|
+
<div id="method-i-install_fzf" class="method-detail anchor-link ">
|
|
168
|
+
<div class="method-header">
|
|
169
|
+
<div class="method-heading">
|
|
170
|
+
<a href="#method-i-install_fzf" title="Link to this method">
|
|
171
|
+
<span class="method-name">install_fzf</span>
|
|
172
|
+
<span class="method-args">(force: false)</span>
|
|
173
|
+
</a>
|
|
174
|
+
</div>
|
|
129
175
|
</div>
|
|
130
176
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<pre class="ruby"><span class="ruby-identifier">needed</span>
|
|
137
|
-
</pre>
|
|
138
|
-
|
|
139
|
-
<p>@return [String] Path to fzf binary</p>
|
|
177
|
+
<div class="method-controls">
|
|
178
|
+
<details class="method-source-toggle">
|
|
179
|
+
<summary>Source</summary>
|
|
180
|
+
</details>
|
|
181
|
+
</div>
|
|
140
182
|
|
|
183
|
+
<div class="method-description">
|
|
141
184
|
<div class="method-source-code" id="install_fzf-source">
|
|
142
185
|
<pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 74</span>
|
|
143
186
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">install_fzf</span>(<span class="ruby-value">force:</span> <span class="ruby-keyword">false</span>)
|
|
@@ -174,21 +217,36 @@
|
|
|
174
217
|
<span class="ruby-identifier">fzf_bin</span>
|
|
175
218
|
<span class="ruby-keyword">end</span></pre>
|
|
176
219
|
</div>
|
|
220
|
+
<p>Install fzf on the current system. Installs to a subdirectory of the gem</p>
|
|
221
|
+
|
|
222
|
+
<p>@param force [Boolean] If true, reinstall if</p>
|
|
223
|
+
|
|
224
|
+
<pre class="ruby"><span class="ruby-identifier">needed</span>
|
|
225
|
+
</pre>
|
|
226
|
+
|
|
227
|
+
<p>@return [String] Path to fzf binary</p>
|
|
177
228
|
</div>
|
|
178
229
|
|
|
179
230
|
|
|
180
231
|
</div>
|
|
181
232
|
|
|
182
|
-
<div id="method-i-uninstall_fzf" class="method-detail ">
|
|
183
|
-
<div class="method-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
233
|
+
<div id="method-i-uninstall_fzf" class="method-detail anchor-link ">
|
|
234
|
+
<div class="method-header">
|
|
235
|
+
<div class="method-heading">
|
|
236
|
+
<a href="#method-i-uninstall_fzf" title="Link to this method">
|
|
237
|
+
<span class="method-name">uninstall_fzf</span>
|
|
238
|
+
<span class="method-args">()</span>
|
|
239
|
+
</a>
|
|
240
|
+
</div>
|
|
187
241
|
</div>
|
|
188
242
|
|
|
189
|
-
|
|
190
|
-
|
|
243
|
+
<div class="method-controls">
|
|
244
|
+
<details class="method-source-toggle">
|
|
245
|
+
<summary>Source</summary>
|
|
246
|
+
</details>
|
|
247
|
+
</div>
|
|
191
248
|
|
|
249
|
+
<div class="method-description">
|
|
192
250
|
<div class="method-source-code" id="uninstall_fzf-source">
|
|
193
251
|
<pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 46</span>
|
|
194
252
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">uninstall_fzf</span>
|
|
@@ -197,23 +255,29 @@
|
|
|
197
255
|
<span class="ruby-identifier">warn</span> <span class="ruby-string">'fzf: removed #{fzf_bin}'</span>
|
|
198
256
|
<span class="ruby-keyword">end</span></pre>
|
|
199
257
|
</div>
|
|
258
|
+
<p>Remove fzf binary</p>
|
|
200
259
|
</div>
|
|
201
260
|
|
|
202
261
|
|
|
203
262
|
</div>
|
|
204
263
|
|
|
205
|
-
<div id="method-i-which_fzf" class="method-detail ">
|
|
206
|
-
<div class="method-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
264
|
+
<div id="method-i-which_fzf" class="method-detail anchor-link ">
|
|
265
|
+
<div class="method-header">
|
|
266
|
+
<div class="method-heading">
|
|
267
|
+
<a href="#method-i-which_fzf" title="Link to this method">
|
|
268
|
+
<span class="method-name">which_fzf</span>
|
|
269
|
+
<span class="method-args">()</span>
|
|
270
|
+
</a>
|
|
271
|
+
</div>
|
|
210
272
|
</div>
|
|
211
273
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
274
|
+
<div class="method-controls">
|
|
275
|
+
<details class="method-source-toggle">
|
|
276
|
+
<summary>Source</summary>
|
|
277
|
+
</details>
|
|
278
|
+
</div>
|
|
216
279
|
|
|
280
|
+
<div class="method-description">
|
|
217
281
|
<div class="method-source-code" id="which_fzf-source">
|
|
218
282
|
<pre><span class="ruby-comment"># File lib/hook/prompt.rb, line 57</span>
|
|
219
283
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">which_fzf</span>
|
|
@@ -224,6 +288,9 @@
|
|
|
224
288
|
<span class="ruby-constant">TTY</span><span class="ruby-operator">::</span><span class="ruby-constant">Which</span>.<span class="ruby-identifier">which</span>(<span class="ruby-string">'fzf'</span>)
|
|
225
289
|
<span class="ruby-keyword">end</span></pre>
|
|
226
290
|
</div>
|
|
291
|
+
<p>Return the path to the fzf binary</p>
|
|
292
|
+
|
|
293
|
+
<p>@return [String] Path to fzf</p>
|
|
227
294
|
</div>
|
|
228
295
|
|
|
229
296
|
|
|
@@ -234,10 +301,3 @@
|
|
|
234
301
|
</section>
|
|
235
302
|
</main>
|
|
236
303
|
|
|
237
|
-
|
|
238
|
-
<footer id="validator-badges" role="contentinfo">
|
|
239
|
-
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
|
240
|
-
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.3.3.
|
|
241
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
|
242
|
-
</footer>
|
|
243
|
-
|