method

compare_with_coercion

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Date
compare_with_coercion(other) public

Allow Date to be compared with Time by converting to DateTime and relying on the <=> from there.

Show source
Register or log in to add new notes.