Sha256: 67c20e87bb957d734994e4058d101fd0f12741e6f0fcc177cc05a079c071c92e
Contents?: true
Size: 478 Bytes
Versions: 2
Compression:
Stored size: 478 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 attr_accessor :enable_hooks 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rundock-0.4.1 | lib/rundock/attribute/node_attribute.rb |
rundock-0.4.0 | lib/rundock/attribute/node_attribute.rb |