# File lib/buildr/core/project.rb, line 622 def layout=(layout) raise 'Cannot set directory layout twice, or after reading its value' if @layout @layout = layout.is_a?(Class) ? layout.new : layout end