Method: GlooLang::Objs::Uri#msg_open

Defined in:
lib/gloo_lang/objs/web/uri.rb

#msg_openObject

Open the URI in the default browser.



138
139
140
141
142
143
144
# File 'lib/gloo_lang/objs/web/uri.rb', line 138

def msg_open
  return unless value

  cmd = GlooLang::Core::GlooSystem.open_for_platform
  cmd_with_param = "#{cmd} \"#{value}\""
  `#{cmd_with_param}`
end