class Binpkgbot::Tasks::Base
Attributes
config[R]
options[R]
Public Class Methods
new(config: nil, **options)
click to toggle source
# File lib/binpkgbot/tasks/base.rb, line 4 def initialize(config: nil, **options) @config = config @options = options end
Public Instance Methods
execute()
click to toggle source
# File lib/binpkgbot/tasks/base.rb, line 11 def execute puts "==> #{self.class}: #{options.inspect}" run end
Private Instance Methods
run()
click to toggle source
# File lib/binpkgbot/tasks/base.rb, line 18 def run raise NotImplementedError end