Module: Approvals
- Extended by:
- DSL
- Defined in:
- lib/approvals/utilities/cli.rb,
lib/approvals.rb,
lib/approvals/dsl.rb,
lib/approvals/error.rb,
lib/approvals/writer.rb,
lib/approvals/version.rb,
lib/approvals/approval.rb,
lib/approvals/configuration.rb,
lib/approvals/utilities/dotfile.rb,
lib/approvals/namers/rspec_namer.rb,
lib/approvals/reporters/launcher.rb,
lib/approvals/reporters/reporter.rb,
lib/approvals/utilities/scrubber.rb,
lib/approvals/writers/xml_writer.rb,
lib/approvals/writers/hash_writer.rb,
lib/approvals/writers/html_writer.rb,
lib/approvals/writers/json_writer.rb,
lib/approvals/writers/text_writer.rb,
lib/approvals/extensions/rspec/dsl.rb,
lib/approvals/namers/default_namer.rb,
lib/approvals/utilities/executable.rb,
lib/approvals/writers/array_writer.rb,
lib/approvals/namers/directory_namer.rb,
lib/approvals/reporters/image_reporter.rb,
lib/approvals/utilities/system_command.rb,
lib/approvals/reporters/filelauncher_reporter.rb,
lib/approvals/reporters/first_working_reporter.rb,
lib/approvals/reporters/diff_reporter/vimdiff_reporter.rb,
lib/approvals/reporters/diff_reporter/opendiff_reporter.rb,
lib/approvals/reporters/diff_reporter/diffmerge_reporter.rb,
lib/approvals/reporters/image_reporter/html_image_reporter.rb,
lib/approvals/reporters/diff_reporter/tortoisediff_reporter.rb,
lib/approvals/reporters/image_reporter/image_magick_reporter.rb
Overview
don’t require the approvals library here, as it will reset the dotfile. or find a better way to reset the dotfile before a run.
Defined Under Namespace
Modules: DSL, Namers, RSpec, Reporters, SystemCommand, Writer, Writers Classes: Approval, ApprovalError, CLI, Configuration, Dotfile, Executable, Scrubber
Constant Summary collapse
- VERSION =
'0.0.6'
Class Method Summary collapse
Methods included from DSL
Class Method Details
.configuration ⇒ Object
10 11 12 |
# File 'lib/approvals/configuration.rb', line 10 def configuration Approvals::Configuration.instance end |
.configure(&block) ⇒ Object
6 7 8 |
# File 'lib/approvals/configuration.rb', line 6 def configure(&block) block.call Approvals::Configuration.instance end |