class Build::Environment

def to_a

Convert the hierarchy of environments to an array where the parent comes before the child.
def to_a
	flat = []
	
	flatten_to_array(flat)
	
	return flat
end