Sha256: 3a6210081f1cd44f49f0caf520a3870ddda9975a27fbcd42472b62a93bf18f85

Contents?: true

Size: 603 Bytes

Versions: 4

Compression:

Stored size: 603 Bytes

Contents

# This class holds methods that apply CBES Pre-1978 to a given model.
# @ref [References::CBES]
class CBESPre1978 < CBES
  register_standard 'CBES Pre-1978'
  attr_reader :template

  def initialize
    super()
    @template = 'CBES Pre-1978'
    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/cbes/cbes_pre_1978/cbes_pre_1978.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/cbes/cbes_pre_1978/cbes_pre_1978.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/cbes/cbes_pre_1978/cbes_pre_1978.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/cbes/cbes_pre_1978/cbes_pre_1978.rb