lib/imgurr/platform.rb
# Public: opens a given URL in the browser. This
# method is designed to handle multiple platforms.
#
# Returns nothing
opens a given URL in the browser. This
method is designed to handle multiple platforms.

Returns nothing
opens a given URL in the browser . This method is designed to handle multiple platforms . Returns nothing
def open(url)
        unless windows?
          system("#{open_command} '#{url.gsub("\'","'\\\\''")}'")
        else
          system("#{open_command} #{url.gsub("\'","'\\\\''")}")
        end
      end
def open ( url ) unless windows? system ( "#{open_command} '#{url.gsub("\'","'\\\\''")}'" ) else system ( "#{open_command} #{url.gsub("\'","'\\\\''")}" ) end end
Public: opens a given URL in the browser.
Public : opens a given URL in the browser .
url
<not_specific>