Class: Rcodetools::XMPAddMarkers
- Defined in:
- lib/rcodetools/xmpfilter.rb
Overview
clas XMPFilter
Constant Summary
Constants inherited from XMPFilter
Rcodetools::XMPFilter::INITIALIZE_OPTS, Rcodetools::XMPFilter::INTERPRETER_FORK, Rcodetools::XMPFilter::INTERPRETER_RBTEST, Rcodetools::XMPFilter::INTERPRETER_RUBY, Rcodetools::XMPFilter::MARKER, Rcodetools::XMPFilter::MULTI_LINE_RE, Rcodetools::XMPFilter::SINGLE_LINE_RE, Rcodetools::XMPFilter::VAR, Rcodetools::XMPFilter::VERSION, Rcodetools::XMPFilter::WARNING_RE, Rcodetools::XMPFilter::XMP_RE
Class Method Summary collapse
Methods inherited from XMPFilter
#add_markers, #annotate, #annotated_line, #annotated_multi_line, #common_path, #debugprint, detect_rbtest, #execute, #execute_popen, #execute_ruby, #execute_script, #execute_tmpfile, #extract_data, #final_decoration, #get_test_method_from_lineno, #initialize, #initialize_for_test_script, #initialize_rbtest, #initialize_rct_fork, #interpreter_command, #oneline_ize, #prepare_line_annotation, #windows?
Constructor Details
This class inherits a constructor from Rcodetools::XMPFilter
Class Method Details
.run(code, opts) ⇒ Object
344 345 346 |
# File 'lib/rcodetools/xmpfilter.rb', line 344 def self.run(code, opts) new(opts).add_markers(code, opts[:min_codeline_size]) end |