Class: WhatsOn::PyCon
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args = ARGV) ⇒ PyCon
constructor
A new instance of PyCon.
Methods inherited from Tool
Constructor Details
#initialize(args = ARGV) ⇒ PyCon
Returns a new instance of PyCon.
9 10 11 12 13 14 15 16 |
# File 'lib/whatson/pycon.rb', line 9 def initialize( args=ARGV ) args = ['https://github.com/python-organizers/conferences/raw/main/2023.csv'] if args.empty? super( args, title: 'Upcoming Python Conferences', more_link: 'github.com/python-organizers/conferences' ) end |
Class Method Details
.main ⇒ Object
6 |
# File 'lib/whatson/pycon.rb', line 6 def self.main() new( ARGV ).list; end |