diff options
author | elijah <elijah@riseup.net> | 2014-09-30 13:36:26 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-09-30 13:36:26 -0700 |
commit | a5b77fa30ed5548978c0907b74ba986cdbf6c11a (patch) | |
tree | fad9db58d566fb3cc2b4a605bc941ea580dfb1a9 /lib/leap_cli/config/tag.rb | |
parent | 410b5d793e8b8ee0abd42b581f09d8c7d5721ed3 (diff) |
environment pinning: new commands `leap env`, `leap env pin X` and `leap env unpin`. See `leap help env` for more information.
Diffstat (limited to 'lib/leap_cli/config/tag.rb')
-rw-r--r-- | lib/leap_cli/config/tag.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/leap_cli/config/tag.rb b/lib/leap_cli/config/tag.rb index e5e719d..31f4f76 100644 --- a/lib/leap_cli/config/tag.rb +++ b/lib/leap_cli/config/tag.rb @@ -13,6 +13,13 @@ module LeapCli; module Config 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 |