Module: Thoreau
- Defined in:
- lib/thoreau/service/logging.rb,
lib/thoreau.rb,
lib/thoreau/dsl.rb,
lib/thoreau/rspec.rb,
lib/thoreau/errors.rb,
lib/thoreau/version.rb,
lib/thoreau/model/setup.rb,
lib/thoreau/dsl/expanded.rb,
lib/thoreau/service/util.rb,
lib/thoreau/configuration.rb,
lib/thoreau/model/outcome.rb,
lib/thoreau/model/appendix.rb,
lib/thoreau/model/test_case.rb,
lib/thoreau/model/test_clan.rb,
lib/thoreau/dsl/context/clan.rb,
lib/thoreau/model/test_suite.rb,
lib/thoreau/case/case_builder.rb,
lib/thoreau/case/suite_runner.rb,
lib/thoreau/dsl/context/suite.rb,
lib/thoreau/model/test_family.rb,
lib/thoreau/dsl/test_suite_data.rb,
lib/thoreau/rspec/configuration.rb,
lib/thoreau/case/context_builder.rb,
lib/thoreau/dsl/context/appendix.rb,
lib/thoreau/rspec/example_helpers.rb,
lib/thoreau/dsl/context/test_cases.rb,
lib/thoreau/case/multi_clan_case_builder.rb,
lib/thoreau/service/legacy_expected_outcomes.rb
Overview
stackoverflow.com/questions/917566/ruby-share-logger-instance-among-module-classes The intended use is via “include”:
Defined Under Namespace
Modules: Case, DSL, Logging, Model, Rspec Classes: Configuration, HashUtil, LegacyExpectedOutcomes, OverriddenActionError, TestCasesAtMultipleLevelsError
Constant Summary collapse
- VERSION =
"0.3.1"
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
10 11 12 |
# File 'lib/thoreau.rb', line 10 def self.configuration @configuration ||= Configuration.new end |
.configure(&block) ⇒ Object
6 7 8 |
# File 'lib/thoreau.rb', line 6 def self.configure &block block.call configuration end |