Over a million developers have joined DZone.

Ruby:Windows: Display A URL In The Default Browser

·
// Ruby:Windows: display a URL in the default browser


def show(url)
  system("start \"x\" \"#{url}\"")
end
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}