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/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, TestTaskReporter
Classes: Configuration, Frame, Stack, Suppression, TestTask, ValgrindError
Constant Summary
collapse
- VERSION =
"1.0.2"
Class Method Summary
collapse
Class Method Details
.config(**opts) ⇒ Object
17
18
19
|
# File 'lib/ruby_memcheck.rb', line 17
def config(**opts)
@default_configuration = Configuration.new(**opts)
end
|
.default_configuration ⇒ Object
21
22
23
24
25
26
27
|
# File 'lib/ruby_memcheck.rb', line 21
def default_configuration
unless @default_configuration
raise "RubyMemcheck is not configured with a default configuration. "\
"Please run RubyMemcheck.config before using it."
end
@default_configuration
end
|