Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
method
from_now
v7.0.0
-
Show latest stable
-
0 notes
- Class:
ActiveSupport
::
Duration
1.0.0
1.1.6
1.2.6
2.0.3
(0)
2.1.0
(0)
2.2.1
(0)
2.3.8
(0)
3.0.0
(0)
3.0.9
(38)
3.1.0
(0)
3.2.1
(0)
3.2.8
(0)
3.2.13
(0)
4.0.2
(0)
4.1.8
(0)
4.2.1
(0)
4.2.7
(0)
4.2.9
(0)
5.0.0.1
(0)
5.1.7
(0)
5.2.3
(0)
6.0.0
(0)
6.1.3.1
(0)
6.1.7.7
(0)
7.0.0
(0)
7.1.3.2
(0)
7.1.3.4
(0)
What's this?
Related methods
Class methods (12)
===
build
calculate_total_seconds
days
hours
minutes
months
new
parse
seconds
weeks
years
Instance methods (43)
<=>
==
===
(<= v4.2.9)
-
-@
/
*
%
+
+@
after
ago
as_json
before
coerce
encode_with
eql?
from_now
hash
in_days
in_hours
init_with
in_minutes
in_months
in_seconds
inspect
instance_of?
in_weeks
in_years
is_a?
iso8601
kind_of?
method_missing
parts
_parts
raise_type_error
respond_to_missing?
since
sum
to_i
to_s
until
variable?
= private
= protected
from_now
(time = ::Time.current)
public
Alias for
ActiveSupport::Duration#since
Register
or
log in
to add new notes.