Method: Qonfig::CommandSet#dup
- Defined in:
- lib/qonfig/command_set.rb
#dup ⇒ Qonfig::CommandSet
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
57 58 59 60 61 |
# File 'lib/qonfig/command_set.rb', line 57 def dup thread_safe do self.class.new.tap { |duplicate| duplicate.concat(self) } end end |