Hi everyone I am playing around with ruby. And as a Java developer I wrote this method to get me the weekdays of a month: ######## def weekdays(month) current = Date.new(month.year,month.month,01) result = Array.new while (current.month == month.month) if(current.wday != 0 && current.wday != 6) result.push(current) end current += 1 end return result end ######## What would be a nice ruby way to write this?