Class: HolidayScraper::Parser::Event

Inherits:
Struct
  • Object
show all
Defined in:
lib/holiday_scraper/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#end_dateObject

Returns the value of attribute end_date

Returns:

  • (Object)

    the current value of end_date



6
7
8
# File 'lib/holiday_scraper/parser.rb', line 6

def end_date
  @end_date
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/holiday_scraper/parser.rb', line 6

def name
  @name
end

#start_dateObject

Returns the value of attribute start_date

Returns:

  • (Object)

    the current value of start_date



6
7
8
# File 'lib/holiday_scraper/parser.rb', line 6

def start_date
  @start_date
end