Sha256: a8bc6f62c1c499d9e68bded6bb5f2ffd7171e3cda2052bcb2940815903d680fb

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

# This abstract class holds methods that many versions of DEER share.
# 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

  # 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.rb
openstudio-standards-0.7.0 lib/openstudio-standards/standards/deer/deer.rb
openstudio-standards-0.7.0.rc1 lib/openstudio-standards/standards/deer/deer.rb
openstudio-standards-0.6.3 lib/openstudio-standards/standards/deer/deer.rb