class WhatsOn::WhatsOn

Public Class Methods

main() click to toggle source
# File lib/whatson/whatson.rb, line 7
def self.main()   new( ARGV ).list;   end
new( args=ARGV ) click to toggle source
Calls superclass method WhatsOn::Tool::new
# File lib/whatson/whatson.rb, line 10
def initialize( args=ARGV )
  args = ['https://github.com/planetruby/calendar/raw/master/_data/conferences2020.yml',
          'https://github.com/python-organizers/conferences/raw/master/2020.csv',
         ]   if args.empty?

  super( args,
         title:     'Upcoming Events',
         more_link: 'github.com/textkit/whatson#public-event-datasets'
       )
end