module Holidays::SOUTHAMERICA

def self.custom_methods

def self.custom_methods
  {
      "to_nearest_monday(date)" => Proc.new { |date|
 date.wday
 5
te += 3
 4
te += 4
 3
te -= 2
 2
te -= 1

peter_st_paul_cl(year)" => Proc.new { |year|
 = Date.civil(year, 6, 29)
2,3,4].include?(date.wday)
te -= (date.wday - 1)
f date.wday == 5
te += 3

umbus_day_cl(year)" => Proc.new { |year|
 = Date.civil(year, 10, 12)
2,3,4].include?(date.wday)
te -= (date.wday - 1)
f date.wday == 5
te += 3

er_churches_day_cl(year)" => Proc.new { |year|
 = Date.civil(year, 10, 31)
ate.wday == 2
te -= 4
f date.wday == 3
te += 2

following_monday_if_not_monday(date)" => Proc.new { |date|
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

phany(year)" => Proc.new { |year|
 = Date.civil( year, 1, 6 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

nt_josephs_day(year)" => Proc.new { |year|
 = Date.civil( year, 3, 19 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

nt_peter_and_saint_paul(year)" => Proc.new { |year|
 = Date.civil( year, 6, 29 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

umption_of_mary(year)" => Proc.new { |year|
 = Date.civil( year, 8, 15 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

umbus_day(year)" => Proc.new { |year|
 = Date.civil( year, 10, 12 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

_saints_day(year)" => Proc.new { |year|
 = Date.civil( year, 11, 1 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

ependence_of_cartagena(year)" => Proc.new { |year|
 = Date.civil( year, 11, 11 )
ate.wday > 1
te += ( 8 - date.wday )
f date.wday == 0
te += 1

  }
end