TypeProf::Utils::CancelToken
# File typeprof-0.21.1/lib/typeprof/utils.rb, line 202 def initialize(max_sec) @max_sec = max_sec @start_time = Time.now end
# File typeprof-0.21.1/lib/typeprof/utils.rb, line 207 def cancelled? @max_sec && Time.now - @start_time >= @max_sec end
This page was generated for Ruby 3.1.0
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.