lib/by_star/by_month.rb
# For reasoning why I use *args rather than variables here,
# please see the by_year method comments in lib/by_star/by_year.rb
For reasoning why I use *args rather than variables here,
please see the by_year method comments in lib/by_star/by_year.rb
For reasoning why I use * args rather than variables here please see the by_year method comments in lib / by_star / by_year . rb
def by_month(*args)
      options = args.extract_options!
      time = args.first || Time.zone.now
      send("by_month_#{time_klass(time)}", time, options)
    end
def by_month ( * args ) options = args . extract_options! time = args . first || Time . zone . now send ( "by_month_#{time_klass(time)}" , time , options ) end
For reasoning why I use *args rather than variables here,
please see the by_year method comments in lib/by_star/by_year.rb
For reasoning why I use * args rather than variables here please see the by_year method comments in lib / by_star / by_year . rb
args
<not_specific>