Flowdock
vendor(filename, data = nil) public

Creates a file in vendor/. The contents can be specified as an argument or as the return value of the block.

vendor "foreign.rb", <<~RUBY
  # Foreign code is fun
RUBY

vendor "foreign.rb" do
  "# Foreign code is fun"
end
Show source
Register or log in to add new notes.