Module: JetBlack
- Defined in:
- lib/jet_black.rb,
lib/jet_black/rspec.rb,
lib/jet_black/errors.rb,
lib/jet_black/session.rb,
lib/jet_black/version.rb,
lib/jet_black/environment.rb,
lib/jet_black/file_helper.rb,
lib/jet_black/ansi_scrubber.rb,
lib/jet_black/configuration.rb,
lib/jet_black/rspec/matchers.rb,
lib/jet_black/executed_command.rb,
lib/jet_black/terminal_session.rb,
lib/jet_black/interactive_command.rb,
lib/jet_black/non_interactive_command.rb
Defined Under Namespace
Modules: RSpec
Classes: AnsiScrubber, Configuration, Environment, Error, ExecutedCommand, FileHelper, InteractiveCommand, InvalidPathError, NonExistentFileError, NonInteractiveCommand, Session, TerminalSession, TerminalSessionTimeoutError
Constant Summary
collapse
- VERSION =
"0.7.1"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
8
9
10
|
# File 'lib/jet_black.rb', line 8
def self.configuration
@configuration ||= Configuration.new
end
|
12
13
14
|
# File 'lib/jet_black.rb', line 12
def self.configure
yield configuration if block_given?
end
|
.reset! ⇒ Object
16
17
18
|
# File 'lib/jet_black.rb', line 16
def self.reset!
@configuration = Configuration.new
end
|