class RSpec::StackProf

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/rspec/stackprof.rb, line 23
def self.configure
  yield(configuration)
end
options() click to toggle source
# File lib/rspec/stackprof.rb, line 31
def self.options 
  create_missing_dirs
  file=create_unique_file_name 
  dirname = File.dirname(File.join(output_dir,output_file))
  {out: File.join(dirname,file)}.merge(configuration.to_h)
end
reset() click to toggle source
# File lib/rspec/stackprof.rb, line 27
def self.reset
  @configuration = nil
end