method
days
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: ActiveSupport::CoreExtensions::Numeric::Time
days()
public
Hide source
# File activesupport/lib/active_support/core_ext/numeric/time.rb, line 48 def days ActiveSupport::Duration.new(self * 24.hours, [[:days, self]]) end