RUBY - Motorola Solutions LaunchPad Developer Community
RUBY - Motorola Solutions LaunchPad Developer Community
RUBY - Motorola Solutions LaunchPad Developer Community
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
RangeUseful with dates.require „Date‟jan1 = Date.new(2012, 1, 1)dec31 = Date.new(2012, 12, 31)dates = (jan1..dec31)dates.include?(Date.today) # => truedates.include?(Date.today + 365) # => false