module Rundock
  module Hook
    class Base
      HookNotImplementedError = Class.new(NotImplementedError)

      attr_reader :name
      attr_reader :contents

      def initialize(name, contents = {})
        @name = name
        @contents = contents
      end

      def hook(log_buffer = [], node_info = {})
        raise HookNotImplementedError
      end
    end
  end
end

module Rundock
  module Hook
    class Base
      HookNotImplementedError = Class.new(NotImplementedError)

      attr_reader :name
      attr_reader :contents

      def initialize(name, contents = {})
        @name = name
        @contents = contents
      end

      def hook(node_attributes = [], log_buffer = [])
        raise HookNotImplementedError
      end
    end
  end
end

Fix hook parrent method args
Fix hook parrent method args
