Sha256: e6d7673622320b3a1df7cc8863f41f722a3b8aba2b91de18c8f6eca46717512b

Contents?: true

Size: 620 Bytes

Versions: 4

Compression:

Stored size: 620 Bytes

Contents

# This abstract class holds methods that many versions of CBES share.
# If a method in this class is redefined by a subclass,
# the implementation in the subclass is used.
# @abstract
# @ref [References::CBES]
class CBES < Standard
  def initialize
    super()
    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.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/cbes/cbes.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/cbes/cbes.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/cbes/cbes.rb