Class: WhatsOn::RubyConf
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args = ARGV) ⇒ RubyConf
constructor
A new instance of RubyConf.
Methods inherited from Tool
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
.main ⇒ Object
7 |
# File 'lib/whatson/rubyconf.rb', line 7 def self.main() new( ARGV ).list; end |