Method: OpenStudio::Workflow::InputAdapter::Local#profile

Defined in:
lib/openstudio/workflow/adapters/input/local.rb

#profile(user_options, default) ⇒ Object



262
263
264
265
266
267
# File 'lib/openstudio/workflow/adapters/input/local.rb', line 262

def profile(user_options, default)
  # user option trumps all others
  return user_options[:profile] if user_options[:profile]

  return default
end