Sha256: bfc059a84996bc8723cdbe9b920542c18da59c46e5e31ef8d7b30c5f3f1e7e50

Contents?: true

Size: 598 Bytes

Versions: 4

Compression:

Stored size: 598 Bytes

Contents

# This class holds methods that apply DEER 2045 to a given model.
# @ref [References::DEERMASControl]
class DEER2045 < DEER
  register_standard 'DEER 2045'
  attr_reader :template

  def initialize
    super()
    @template = 'DEER 2045'
    load_standards_database
  end

  # Loads the openstudio standards dataset for this standard.
  #
  # @param data_directories [Array<String>] array of file paths that contain standards data
  # @return [Hash] a hash of standards data
  def load_standards_database(data_directories = [])
    super([__dir__] + data_directories)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openstudio-standards-0.7.1 lib/openstudio-standards/standards/deer/deer_2045/deer_2045.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/deer/deer_2045/deer_2045.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/deer/deer_2045/deer_2045.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/deer/deer_2045/deer_2045.rb