Is there any possibility to overwrite the dots in a ruby range?. My aim is, to manipulate the given objects before the range is created.
I thought of something like this
require 'rubygems'
require 'active_support'
#actual i have to call explicitly .to_date
Date.today.to_date..1.month.since.to_date
#this should give me a range with Date objects
Date.today..1.month.since
I have already tried to overwrite the initialize method of the class Range. But this hasn't worked as expected.