Flowdock
method

include?

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: IncludeTimeWithZone
include?(value) public

Extends the default Range#include? to support ActiveSupport::TimeWithZone.

(1.hour.ago..1.hour.from_now).include?(Time.current) # => true
Show source
Register or log in to add new notes.