Sha256: 0d0865bbfa54088d565ca3357d989db5aad9bc6c61e426f90c967c23711c207b
Contents?: true
Size: 582 Bytes
Versions: 9
Compression:
Stored size: 582 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
9 entries across 9 versions & 1 rubygems