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

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles