Module: HtmlToMarkdown::CLIProxy

Defined in:
sig/html_to_markdown/cli_proxy.rbs

Defined Under Namespace

Classes: CLIExecutionError, Error, MissingBinaryError

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.callString

Execute CLI with given arguments

Parameters:

  • argv (Array[String])

Returns:

  • (String)


22
# File 'sig/html_to_markdown/cli_proxy.rbs', line 22

def self.call: (Array[String] argv) -> String

.find_cli_binaryPathname

Find the CLI binary in search paths

Returns:

  • (Pathname)


25
# File 'sig/html_to_markdown/cli_proxy.rbs', line 25

def self.find_cli_binary: () -> Pathname

.lib_pathPathname

Get lib path of the gem

Returns:

  • (Pathname)


31
# File 'sig/html_to_markdown/cli_proxy.rbs', line 31

def self.lib_path: () -> Pathname

.missing_binary_messageString

Get error message for missing binary

Returns:

  • (String)


37
# File 'sig/html_to_markdown/cli_proxy.rbs', line 37

def self.missing_binary_message: () -> String

.root_pathPathname

Get root path of the gem

Returns:

  • (Pathname)


28
# File 'sig/html_to_markdown/cli_proxy.rbs', line 28

def self.root_path: () -> Pathname

.search_pathsArray[Pathname]

Get search paths for CLI binary

Parameters:

  • binary_name (String)

Returns:

  • (Array[Pathname])


34
# File 'sig/html_to_markdown/cli_proxy.rbs', line 34

def self.search_paths: (String binary_name) -> Array[Pathname]

Instance Method Details

#callString

Parameters:

  • argv (Array[String])

Returns:

  • (String)


41
# File 'sig/html_to_markdown/cli_proxy.rbs', line 41

def call: (Array[String] argv) -> String

#find_cli_binaryPathname

Returns:

  • (Pathname)


42
# File 'sig/html_to_markdown/cli_proxy.rbs', line 42

def find_cli_binary: () -> Pathname

#lib_pathPathname

Returns:

  • (Pathname)


44
# File 'sig/html_to_markdown/cli_proxy.rbs', line 44

def lib_path: () -> Pathname

#missing_binary_messageString

Returns:

  • (String)


46
# File 'sig/html_to_markdown/cli_proxy.rbs', line 46

def missing_binary_message: () -> String

#root_pathPathname

Returns:

  • (Pathname)


43
# File 'sig/html_to_markdown/cli_proxy.rbs', line 43

def root_path: () -> Pathname

#search_pathsArray[Pathname]

Parameters:

  • binary_name (String)

Returns:

  • (Array[Pathname])


45
# File 'sig/html_to_markdown/cli_proxy.rbs', line 45

def search_paths: (String binary_name) -> Array[Pathname]