Class: BTAP::OpenStudioLibrary
- Inherits:
-
Object
- Object
- BTAP::OpenStudioLibrary
- Includes:
- Singleton
- Defined in:
- lib/openstudio-standards/btap/btap.rb
Instance Attribute Summary collapse
-
#library ⇒ Object
Returns the value of attribute library.
Instance Method Summary collapse
-
#initialize ⇒ OpenStudioLibrary
constructor
This method initializes the library.
Constructor Details
#initialize ⇒ OpenStudioLibrary
This method initializes the library.
173 174 175 176 177 |
# File 'lib/openstudio-standards/btap/btap.rb', line 173 def initialize() #path to openstudio library @lib_path = "C:\\Program Files (x86)\\OpenStudio 1.2.0\\share\\openstudio\\OSApp\\hvaclibrary\\hvac_library.osm" @library = BTAP::FileIO::load_osm(@lib_path, "OpenStudio_Library") end |
Instance Attribute Details
#library ⇒ Object
Returns the value of attribute library.
170 171 172 |
# File 'lib/openstudio-standards/btap/btap.rb', line 170 def library @library end |