Module: RSpec::Bash

Defined in:
lib/rspec/bash.rb,
lib/rspec/bash/fd.rb,
lib/rspec/bash/open3.rb,
lib/rspec/bash/script.rb,
lib/rspec/bash/support.rb,
lib/rspec/bash/version.rb,
lib/rspec/bash/noisy_thread.rb,
lib/rspec/bash/configuration.rb,
lib/rspec/bash/mocks/doubles.rb,
lib/rspec/bash/stub_behavior.rb,
lib/rspec/bash/mocks/matchers.rb,
lib/rspec/bash/message_decoder.rb,
lib/rspec/bash/script_evaluator.rb,
lib/rspec/bash/script_generator.rb,
lib/rspec/bash/mocks/script_proxy.rb,
lib/rspec/bash/mocks/matchers/receive.rb,
lib/rspec/bash/mocks/matchers/test_by.rb,
lib/rspec/bash/mocks/matchers/test_for.rb,
lib/rspec/bash/mocks/matchers/base_matcher.rb,
lib/rspec/bash/mocks/doubles/abstract_double.rb,
lib/rspec/bash/mocks/doubles/function_double.rb,
lib/rspec/bash/mocks/doubles/conditional_double.rb,
lib/rspec/bash/mocks/script_message_expectation.rb,
lib/rspec/bash/mocks/doubles/exact_conditional_double.rb

Defined Under Namespace

Modules: FD, Mocks, Open3, Support Classes: Configuration, MessageDecoder, NoisyThread, Script, ScriptEvaluator, ScriptGenerator, StubBehavior

Constant Summary collapse

VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

.configurationObject



18
19
20
# File 'lib/rspec/bash.rb', line 18

def self.configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



22
23
24
# File 'lib/rspec/bash.rb', line 22

def self.configure(&block)
  yield configuration
end