Module: CapturefulFormatter

Defined in:
lib/captureful_formatter.rb,
lib/captureful_formatter/printer.rb,
lib/captureful_formatter/version.rb,
lib/captureful_formatter/formatter.rb,
lib/captureful_formatter/structures.rb,
lib/captureful_formatter/notifications.rb,
lib/captureful_formatter/rspec_ext/rspec_core_reporter.rb,
lib/captureful_formatter/turnip_ext/turnip_rspec_execute.rb

Defined Under Namespace

Modules: Notifications, Printer, RSpec, Structures, Turnip Classes: Configuration, Formatter

Constant Summary collapse

VERSION =
"0.0.2"
@@configuration =
nil

Class Method Summary collapse

Class Method Details

.configurationObject



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

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

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

Yields:



12
13
14
15
16
# File 'lib/captureful_formatter.rb', line 12

def configure
  yield configuration if block_given?

  configuration
end