DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Ivor has posted 7 posts at DZone. View Full User Profile

Ruby:Windows: Display A URL In The Default Browser

02.21.2009
| 318 views |
  • submit to reddit
        // Ruby:Windows: display a URL in the default browser

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