Created
November 17, 2019 15:38
-
-
Save sam0x17/cbc864829ec9aaba7d7f08c520aad2da to your computer and use it in GitHub Desktop.
How to get rails' 1.month and 3.seconds etc working in raw ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'active_support' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_support/core_ext' | |
puts 3.months |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment