Over a million developers have joined DZone.

File.join Shorthand

·
A Ruby shorthand for writing foo/bar instead of File.join(foo, bar)


class String
  def /(other)
    File.join(self, other)
  end
end
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}