lib/kitchen/element_enumerator_base.rb
# Makes a copy of the enumerated elements and places them on the specified clipboard.
#
# @param to [Symbol, String, Clipboard, nil] the name of the clipboard (or a Clipboard
#   object) to copy to.  String values are converted to symbols.  If not provided, the
#   copies are placed on a new clipboard.
# @return [Clipboard] the clipboard
#
Makes a copy of the enumerated elements and places them on the specified clipboard.
Makes a copy of the enumerated elements and places them on the specified clipboard .
def copy(to: nil)
      to ||= Clipboard.new
      each do |element|
        element.copy(to: to)
      end
      to
    end
def copy ( to : nil ) to ||= Clipboard . new each do | element | element . copy ( to : to ) end to end
Makes a copy of the enumerated elements and places them on the specified clipboard.
Makes a copy of the enumerated elements and places them on the specified clipboard .
None
Clipboard
to
the name of the clipboard (or a Clipboard object) to copy to. String values are converted to symbols. If not provided, the copies are placed on a new clipboard.
the name of the clipboard ( or a Clipboard object ) to copy to . String values are converted to symbols . If not provided the copies are placed on a new clipboard .