Class: WhatsOn::PyCon

Inherits:
Tool
  • Object
show all
Defined in:
lib/whatson/pycon.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Tool

#list

Constructor Details

#initialize(args = ARGV) ⇒ PyCon



10
11
12
13
14
15
16
17
# File 'lib/whatson/pycon.rb', line 10

def initialize( args=ARGV )
  args = ['https://github.com/python-organizers/conferences/raw/master/2020.csv']  if args.empty?

  super( args,
         title:     'Upcoming Python Conferences',
         more_link: 'github.com/python-organizers/conferences'
       )
end

Class Method Details

.mainObject



7
# File 'lib/whatson/pycon.rb', line 7

def self.main()   new( ARGV ).list;   end