Class: DEER2007

Inherits:
DEER show all
Defined in:
lib/openstudio-standards/standards/deer/deer_2007/deer_2007.rb

Overview

This class holds methods that apply DEER 2007 to a given model.

Technical References:

Direct Known Subclasses

ComStockDEER2007

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDEER2007

Returns a new instance of DEER2007.


8
9
10
11
# File 'lib/openstudio-standards/standards/deer/deer_2007/deer_2007.rb', line 8

def initialize
  @template = 'DEER 2007'
  load_standards_database
end

Instance Attribute Details

#templateObject (readonly)

Returns the value of attribute template


6
7
8
# File 'lib/openstudio-standards/standards/deer/deer_2007/deer_2007.rb', line 6

def template
  @template
end

Instance Method Details

#load_standards_database(data_directories = []) ⇒ Object


13
14
15
# File 'lib/openstudio-standards/standards/deer/deer_2007/deer_2007.rb', line 13

def load_standards_database(data_directories = [])
  super([__dir__] + data_directories)
end