lib/avrolution/rake/base_task.rb in avrolution-0.6.1 vs lib/avrolution/rake/base_task.rb in avrolution-0.7.0
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'rake/tasklib'
module Avrolution
module Rake
class BaseTask < ::Rake::TaskLib
@@ -9,9 +11,10 @@
def self.define(**options, &block)
new(**options, &block).define
end
def initialize(name: nil, dependencies: [])
+ super()
@name = name
@task_namespace = :avro
@dependencies = dependencies
yield self if block_given?