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