lib/openstudio-standards/standards/deer/deer.rb in openstudio-standards-0.2.9 vs lib/openstudio-standards/standards/deer/deer.rb in openstudio-standards-0.2.10.rc1

- old
+ new

@@ -2,8 +2,12 @@ # If a method in this class is redefined by a subclass, # the implementation in the subclass is used. # @abstract class DEER < Standard def initialize - super() + load_standards_database + end + + def load_standards_database(data_directories = []) + super([__dir__] + data_directories) end end