You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1536,9 +1536,13 @@ Time.current # Same thing but shorter.
1536
1536
== Duration
1537
1537
1538
1538
Don't use `.since`, `.after` without a parameter, prefer `.from_now`.
1539
+
1539
1540
Dont't use `.until`, `.before`, without a parameter, prefer `ago`.
1541
+
1540
1542
Dont't use `.ago' or `.from_now` with a parameter, prefer their respective aliases `.until` or `.before` for `ago` and `.since` or `.after` for `from_now`
1543
+
1541
1544
Don't use hard coded negative numbers for the duration subject
1545
+
1542
1546
As a general rule, make sure that reading the code as it was plain english makes total sense.
0 commit comments