Don't expose internal clock_gettime_supported? class method

This commit is contained in:
Ryuta Kamizono 2018-11-30 21:14:12 +09:00
parent 5b75408e32
commit aa9b0932ec

@ -56,8 +56,9 @@ class Event
def self.clock_gettime_supported? # :nodoc:
defined?(Process::CLOCK_PROCESS_CPUTIME_ID) &&
!Gem.win_platform?
!Gem.win_platform?
end
private_class_method :clock_gettime_supported?
def initialize(name, start, ending, transaction_id, payload)
@name = name