Class: CFA::AugeasTree
- Inherits:
-
Object
- Object
- CFA::AugeasTree
- Defined in:
- src/lib/cfa/hosts.rb
Instance Method Summary collapse
Instance Method Details
#initialize_clone(source) ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'src/lib/cfa/hosts.rb', line 29 def initialize_clone(source) # Cloning internal data representation @data = source.data.map do |d| nd = d.clone nd[:value] = d[:value].clone if is_a? AugeasTree nd end end |