Welcome
Register
Projects
Help
About
Blog
Use OpenID
Login
Password
OpenID URL
Remember me
RSpec
Ruby on Rails
Ruby
method
from_now
v5.0.0.1
-
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
(>= v5.1.7)
calculate_total_seconds
(>= v5.1.7)
days
(>= v5.1.7)
hours
(>= v5.1.7)
minutes
(>= v5.1.7)
months
(>= v5.1.7)
new
parse
seconds
(>= v5.1.7)
weeks
(>= v5.1.7)
years
(>= v5.1.7)
Instance methods (43)
<=>
(>= v5.1.7)
==
===
(<= v4.2.9)
-
-@
/
(>= v5.1.7)
*
(>= v5.1.7)
%
(>= v5.1.7)
+
+@
(>= v6.1.3.1)
after
(>= v5.1.7)
ago
as_json
before
(>= v5.1.7)
coerce
(>= v5.1.7)
encode_with
(>= v5.1.7)
eql?
from_now
hash
in_days
(>= v6.1.3.1)
in_hours
(>= v6.1.3.1)
init_with
(>= v5.1.7)
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
(>= v5.1.7)
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.