aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/tag.rb
blob: 31f4f762e3e525c7d787138e0a9514e8b89a86ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
#
# A class for node services or node tags.
#
#

module LeapCli; module Config

  class Tag < Object
    attr_reader :node_list

    def initialize(manager=nil)
      super(manager)
      @node_list = Config::ObjectList.new
    end

    # don't copy the node list pointer when this object is dup'ed.
    def initialize_copy(orig)
      super
      @node_list = Config::ObjectList.new
    end

  end

end; end