Method: Trello.open_url

Defined in:
lib/trello.rb

.open_url(url) ⇒ Object



224
225
226
227
228
229
230
# File 'lib/trello.rb', line 224

def self.open_url(url)
  require 'launchy'
  Launchy.open(url.to_s)
rescue LoadError
  warn 'Please install the launchy gem to open the url automatically.'
  url
end