Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
method
from_now
v5.1.7
-
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)
-
-@
/
*
%
+
+@
(>= v6.1.3.1)
after
ago
as_json
before
coerce
encode_with
eql?
from_now
hash
in_days
(>= v6.1.3.1)
in_hours
(>= v6.1.3.1)
init_with
in_minutes
(>= v6.1.3.1)
in_months
(>= v6.1.3.1)
in_seconds
(>= v6.1.3.1)
inspect
instance_of?
in_weeks
(>= v6.1.3.1)
in_years
(>= v6.1.3.1)
is_a?
iso8601
kind_of?
method_missing
parts
(>= v7.0.0)
_parts
(>= v7.0.0)
raise_type_error
respond_to_missing?
since
sum
to_i
to_s
until
variable?
(>= v7.0.0)
= private
= protected
from_now
(time = ::Time.current)
public
Alias for
ActiveSupport::Duration#since
Register
or
log in
to add new notes.