Module: CLIntegracon

Defined in:
lib/CLIntegracon/adapter/bacon.rb,
lib/CLIntegracon.rb,
lib/CLIntegracon/diff.rb,
lib/CLIntegracon/version.rb,
lib/CLIntegracon/subject.rb,
lib/CLIntegracon/formatter.rb,
lib/CLIntegracon/configuration.rb,
lib/CLIntegracon/file_tree_spec.rb,
lib/CLIntegracon/file_tree_spec_context.rb

Overview

Layout structure

Defined Under Namespace

Modules: Adapter Classes: Configuration, Diff, FileTreeSpec, FileTreeSpecContext, Formatter, LazyString, LazyStringProxy, Subject

Constant Summary collapse

VERSION =
"0.7.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.shared_configConfiguration


9
10
11
# File 'lib/CLIntegracon/configuration.rb', line 9

def shared_config
  @shared_config
end

Class Method Details

.configure(&block) ⇒ Object

Set a new shared configuration


16
17
18
19
# File 'lib/CLIntegracon/configuration.rb', line 16

def configure(&block)
  self.shared_config ||= Configuration.new
  shared_config.instance_eval &block
end