Module: Robro
- Defined in:
- lib/robro.rb,
lib/robro/cli.rb,
lib/robro/browser.rb,
lib/robro/version.rb,
lib/robro/user_scripts.rb
Defined Under Namespace
Modules: UserScripts
Classes: Browser, CLI, Error
Constant Summary
collapse
- VERSION =
"0.1.2"
Class Method Summary
collapse
Class Method Details
.browser ⇒ Object
23
24
25
|
# File 'lib/robro.rb', line 23
def self.browser
@@browser || raise('Browser must be initialized first!')
end
|
.browser=(browser) ⇒ Object
19
20
21
|
# File 'lib/robro.rb', line 19
def self.browser=(browser)
@@browser = browser
end
|
.logger ⇒ Object
11
12
13
14
15
16
17
|
# File 'lib/robro.rb', line 11
def self.logger
@@logger ||= TTY::Logger.new do |config|
config.handlers = [
[:console, { output: $stderr, level: :debug }],
]
end
end
|