Module: RubyMemcheck

Defined in:
lib/ruby_memcheck.rb,
lib/ruby_memcheck/frame.rb,
lib/ruby_memcheck/stack.rb,
lib/ruby_memcheck/version.rb,
lib/ruby_memcheck/test_task.rb,
lib/ruby_memcheck/ruby_runner.rb,
lib/ruby_memcheck/suppression.rb,
lib/ruby_memcheck/configuration.rb,
lib/ruby_memcheck/valgrind_error.rb,
lib/ruby_memcheck/rspec/rake_task.rb,
lib/ruby_memcheck/test_task_reporter.rb

Defined Under Namespace

Modules: RSpec Classes: Configuration, Frame, RubyRunner, Stack, Suppression, TestTask, TestTaskReporter, ValgrindError

Constant Summary collapse

VERSION =
"3.0.0"

Class Method Summary collapse

Class Method Details

.config(**opts) ⇒ Object



20
21
22
# File 'lib/ruby_memcheck.rb', line 20

def config(**opts)
  @default_configuration = Configuration.new(**opts)
end

.default_configurationObject



24
25
26
# File 'lib/ruby_memcheck.rb', line 24

def default_configuration
  @default_configuration ||= config
end