Flowdock
method

download

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: RecursiveHTTPFetcher
download(link) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/commands/plugin.rb, line 894
  def download(link)
    puts "+ #{File.join(@cwd, File.basename(link))}" unless @quiet
    open(link) do |stream|
      File.open(File.join(@cwd, File.basename(link)), "wb") do |file|
        file.write(stream.read)
      end
    end
  end
Register or log in to add new notes.