# File lib/plugins/uri-open.rb, line 20 def self.open_uri(uri) cmd = unless config.plugins.uri_open.browser.empty? config.plugins.uri_open.browser else case RUBY_PLATFORM when /linux/; 'firefox' when /mswin(?!ce)|mingw|bccwin/; 'explorer' when /cygwin/; 'cygstart -o' else; 'open' end end system "#{cmd} #{uri}" end