openstudiocore/src/cli/embedded_help.rb
# ":" is our root path to the embedded file system
# make sure it is in the ruby load path
":" is our root path to the embedded file system
make sure it is in the ruby load path
" : " is our root path to the embedded file system make sure it is in the ruby load path
def require_relative path
    absolute_path = File.dirname(caller_locations(1,1)[0].path) + '/' + path
    if absolute_path.to_s.chars.first == ':'
      absolute_path = OpenStudio.get_absolute_path(absolute_path)
    end
    return require absolute_path
  end
def require_relative path absolute_path = File . dirname ( caller_locations ( 1 , 1 ) [ 0 ] . path ) + '/' + path if absolute_path . to_s . chars . first == ':' absolute_path = OpenStudio . get_absolute_path ( absolute_path ) end return require absolute_path end
":" is our root path to the embedded file system
make sure it is in the ruby load path
" : " is our root path to the embedded file system make sure it is in the ruby load path
path
<not_specific>