Method: Consular.global_path

Defined in:
lib/consular.rb,
lib/consular.rb

.global_path(path = nil) ⇒ String

Returns the global script path. If not set, defaults to ~/.config/consular

Parameters:

  • path (String) (defaults to: nil)

    File name in path

Returns:

  • (String)

    global script path



45
46
47
# File 'lib/consular.rb', line 45

def global_path
  @global_path
end