lib/ruby-prof/compatibility.rb in ruby-prof-0.11.2 vs lib/ruby-prof/compatibility.rb in ruby-prof-0.11.3
- old
+ new
@@ -71,16 +71,21 @@
def self.measure_mode=(value)
@measure_mode = value
end
# call-seq:
- # exclude_threads= -> void
+ # exclude_threads -> exclude_threads
#
- # Specifies what threads ruby-prof should exclude from profiling
+ # Returns threads ruby-prof should exclude from profiling
def self.exclude_threads
@exclude_threads ||= Array.new
end
+
+ # call-seq:
+ # exclude_threads= -> void
+ #
+ # Specifies what threads ruby-prof should exclude from profiling
def self.exclude_threads=(value)
@exclude_threads = value
end
\ No newline at end of file