class WhatsOn::Football

Public Class Methods

main() click to toggle source
# File lib/whatson/football.rb, line 7
def self.main()   new( ARGV ).list;   end
new( args=ARGV ) click to toggle source
Calls superclass method
# File lib/whatson/football.rb, line 10
def initialize( args=ARGV )
  args = ['https://github.com/footballbook/calendar/raw/master/README.md']  if args.empty?

  super( args,
         title:     'Upcoming Football Tournaments',
         more_link: 'github.com/footballbook/calendar',
         show_year: true    ## e.g. World Cup 2020 etc.
       )
end