Method: IceCube::TimeUtil::TimeWrapper#clear_below
- Defined in:
- lib/ice_cube/time_util.rb
#clear_below(type) ⇒ Object
300 301 302 303 304 305 306 |
# File 'lib/ice_cube/time_util.rb', line 300 def clear_below(type) type = :day if type == :wday CLEAR_ORDER.each do |ptype| break if ptype == type send :"clear_#{ptype}" end end |