Sha256: 04cbbd0d690003a68e4af99b1ce44b5115299a622b3bfc30e26a77a20210deb3
Contents?: true
Size: 474 Bytes
Versions: 74
Compression:
Stored size: 474 Bytes
Contents
require 'puppet/property/list' module Puppet class Property class OrderedList < List def add_should_with_current(should, current) if current.is_a?(Array) #tricky trick #Preserve all the current items in the list #but move them to the back of the line should = should + (current - should) end should end def dearrayify(array) array.join(delimiter) end end end end
Version data entries
74 entries across 74 versions & 4 rubygems