Module: HtmlToMarkdown::CLIProxy
- Defined in:
- sig/html_to_markdown/cli_proxy.rbs
Defined Under Namespace
Classes: CLIExecutionError, Error, MissingBinaryError
Class Method Summary collapse
-
.call ⇒ String
Execute CLI with given arguments.
-
.find_cli_binary ⇒ Pathname
Find the CLI binary in search paths.
-
.lib_path ⇒ Pathname
Get lib path of the gem.
-
.missing_binary_message ⇒ String
Get error message for missing binary.
-
.root_path ⇒ Pathname
Get root path of the gem.
-
.search_paths ⇒ Array[Pathname]
Get search paths for CLI binary.
Instance Method Summary collapse
- #call ⇒ String
- #find_cli_binary ⇒ Pathname
- #lib_path ⇒ Pathname
- #missing_binary_message ⇒ String
- #root_path ⇒ Pathname
- #search_paths ⇒ Array[Pathname]
Class Method Details
.call ⇒ String
Execute CLI with given arguments
22 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 22
def self.call: (Array[String] argv) -> String
|
.find_cli_binary ⇒ Pathname
Find the CLI binary in search paths
25 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 25
def self.find_cli_binary: () -> Pathname
|
.lib_path ⇒ Pathname
Get lib path of the gem
31 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 31
def self.lib_path: () -> Pathname
|
.missing_binary_message ⇒ String
Get error message for missing binary
37 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 37
def self.missing_binary_message: () -> String
|
.root_path ⇒ Pathname
Get root path of the gem
28 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 28
def self.root_path: () -> Pathname
|
.search_paths ⇒ Array[Pathname]
Get search paths for CLI binary
34 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 34
def self.search_paths: (String binary_name) -> Array[Pathname]
|
Instance Method Details
#call ⇒ String
41 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 41
def call: (Array[String] argv) -> String
|
#find_cli_binary ⇒ Pathname
42 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 42
def find_cli_binary: () -> Pathname
|
#lib_path ⇒ Pathname
44 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 44
def lib_path: () -> Pathname
|
#missing_binary_message ⇒ String
46 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 46
def missing_binary_message: () -> String
|
#root_path ⇒ Pathname
43 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 43
def root_path: () -> Pathname
|
#search_paths ⇒ Array[Pathname]
45 |
# File 'sig/html_to_markdown/cli_proxy.rbs', line 45
def search_paths: (String binary_name) -> Array[Pathname]
|