Method: Chronos::Duration::Gregorian#hours
- Defined in:
- lib/chronos/duration/gregorian.rb
#hours(after = nil) ⇒ Object
151 152 153 |
# File 'lib/chronos/duration/gregorian.rb', line 151 def hours(after=nil) after ? hours%After[[:hours, after]] : picoseconds.quo(PS_IN_HOUR) end |