summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/tag.rb
blob: 6bd8d1e91366a03284d4f0817ecc8953961dfd3f (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(environment=nil)
      super(environment)
      @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