MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / eval

Method eval

ruby/engine/RubyEngine.cpp:87–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87ScriptObject RubyEngine::eval(std::string_view sv) {
88 std::string str{sv};
89 return ScriptObject{openstudio::evalString(str)};
90}
91
92void RubyEngine::exec(std::string_view sv) {
93 std::string str{sv};

Callers 4

getMeasureMethod · 0.45
executeRubyScriptCommandFunction · 0.45

Calls 1

evalStringFunction · 0.85

Tested by

no test coverage detected