Ruby 2.7 adds Time ceil and Time floor methods
There are cases where we want to truncate decimals in order to compare or save times with different accuracy. Ruby adds Time.
Ruby 2.7 adds Time ceil and Time floor methods #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/ruby-2-7-adds-time-ceil-and-time-floor-methods