Class: WhatsOn::RubyConf

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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Tool

#list

Constructor Details

#initialize(args = ARGV) ⇒ RubyConf

Returns a new instance of RubyConf.



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

def initialize( args=ARGV )
  args = ['https://github.com/planetruby/conferences/raw/master/_data/conferences2023.yml']  if args.empty?

  super( args,
         title:     'Upcoming Ruby Conferences',
         more_link: 'github.com/planetruby/calendar'
       )
end

Class Method Details

.mainObject



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

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