lib/openstudio-standards/btap/envelope.rb in openstudio-standards-0.6.0.rc2 vs lib/openstudio-standards/btap/envelope.rb in openstudio-standards-0.6.3

- old
+ new

@@ -907,10 +907,10 @@ #@param construction_library_file [String] #@param construction_set_name [String] #@return [Boolean] optional_construction_set def self.get_construction_set_from_library(construction_library_file, construction_set_name) #Load Contruction osm library. - if File.exists?(construction_library_file) + if File.exist?(construction_library_file) construction_lib = BTAP::FileIO::load_osm(construction_library_file) #Get construction set.. optional_construction_set = construction_lib.getDefaultConstructionSetByName(construction_set_name) if optional_construction_set.empty? raise("#{construction_set_name} does not exist in #{construction_library_file} library ") \ No newline at end of file