raekfile updated

rework examples
This commit is contained in:
2023-07-21 06:37:14 +01:00
parent 15dcaeedda
commit 15c4baf5d7
12 changed files with 42 additions and 131 deletions

View File

@@ -1,4 +1,4 @@
require "obsws"
require_relative "../../lib/obsws"
require "yaml"
OBSWS::LOGGER.info!
@@ -53,4 +53,4 @@ def conn_from_yaml
YAML.load_file("obs.yml", symbolize_names: true)[:connection]
end
Main.new(**conn_from_yaml).run if $0 == __FILE__
Main.new(**conn_from_yaml).run if $PROGRAM_NAME == __FILE__