diff options
| author | Andrew White <andrew.white@unboxedconsulting.com> | 2016-04-23 17:15:26 +0100 |
|---|---|---|
| committer | Andrew White <andrew.white@unboxedconsulting.com> | 2016-04-23 17:15:26 +0100 |
| commit | 7fb2a637086ae5e4cb8d06582ed7d9b29a6a4f58 (patch) | |
| tree | b7cd114b5bce9c6b80bb7393a198dc05c770f6f7 /activemodel/lib/active_model/validations/helper_methods.rb | |
| parent | f5dcc141ec19ae585326f5b424b81c0217a386c0 (diff) | |
| download | rails-7fb2a637086ae5e4cb8d06582ed7d9b29a6a4f58.tar.gz rails-7fb2a637086ae5e4cb8d06582ed7d9b29a6a4f58.tar.bz2 rails-7fb2a637086ae5e4cb8d06582ed7d9b29a6a4f58.zip | |
Add Time#sec_fraction
Mirrors the DateTime#sec_fraction method by returning the fraction
of the second as a Rational.
Diffstat (limited to 'activemodel/lib/active_model/validations/helper_methods.rb')
0 files changed, 0 insertions, 0 deletions
