Sha256: da4999a7317065a73d0c3e130de23ac6204f01b2df41416270f5fb419f242f92

Contents?: true

Size: 454 Bytes

Versions: 2

Compression:

Stored size: 454 Bytes

Contents

module Rundock
  module Target
    class Base
      TargetNotImplementedError = Class.new(NotImplementedError)

      attr_reader :name
      attr_reader :contents
      attr_reader :parsed_options

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

      def create_nodes(target_info = {}, options = {})
        raise TargetNotImplementedError
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rundock-1.2.1 lib/rundock/target/base.rb
rundock-1.2.0 lib/rundock/target/base.rb