Sha256: 71f63e827fbdecd6e05083311a32cc9287de9160afcbe0ca4f8d17428a336e3b

Contents?: true

Size: 444 Bytes

Versions: 5

Compression:

Stored size: 444 Bytes

Contents

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

      AVAIL_TAKE_OVERS = [
        :task_info,
        :errexit
      ]

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rundock-0.3.0 lib/rundock/attribute/node_attribute.rb
rundock-0.2.11 lib/rundock/attribute/node_attribute.rb
rundock-0.2.10 lib/rundock/attribute/node_attribute.rb
rundock-0.2.9 lib/rundock/attribute/node_attribute.rb
rundock-0.2.8 lib/rundock/attribute/node_attribute.rb