Method: Numeric#years
- Defined in:
- lib/all/sugarcube-numbers/time.rb
#years ⇒ Object Also known as: year
INACCURATE and COULD CHANGE in the future.
81 82 83 |
# File 'lib/all/sugarcube-numbers/time.rb', line 81 def years self.days * 365.25 end |