Sha256: cb91fdda4cb2538b91d3e42a1affa3f636e562b483c7552bc85e2253e6c792e3

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

module Rundock
  module Attribute
    class NodeAttribute < Base
      attr_accessor :nodename
      attr_accessor :nodeinfo
      attr_accessor :task_info
      attr_accessor :errexit
      attr_accessor :dry_run
      attr_accessor :hooks

      AVAIL_TAKE_OVERS = [
        :task_info,
        :errexit,
        :dry_run
      ]

      def next
        list.each do |k, _v|
          define_attr(k, nil) unless AVAIL_TAKE_OVERS.include?(k)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rundock-0.5.0 lib/rundock/attribute/node_attribute.rb