Sha256: 26e11b843ff3fa99fed30dc13e92afa5dec869466518e48940fca8ea27319e98

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rundock-0.4.12 lib/rundock/hook/base.rb
rundock-0.4.11 lib/rundock/hook/base.rb
rundock-0.4.10 lib/rundock/hook/base.rb