Sha256: 4f7d76f4abd1d2bd7ab93dae1b8b65210016b42bfea88a40fca4a883d7699314

Contents?: true

Size: 232 Bytes

Versions: 10

Compression:

Stored size: 232 Bytes

Contents

class String

  # Treats +self+ and +path+ as representations
  # of pathnames, joining thme together as a
  # single path.
  #
  #   ('home' / 'trans')  #=> 'home/trans'
  #
  def /(path)
    File.join(self, path.to_s)
  end

end

Version data entries

10 entries across 9 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 lib/core/facets/string/op_div.rb
facets-3.1.0 lib/core/facets/string/op_div.rb
facets-3.0.0 lib/core/facets/string/op_div.rb
facets-2.9.3 lib/core/facets/string/op_div.rb
facets-2.9.2 src/core/facets/string/op_div.rb
facets-2.9.2 lib/core/facets/string/op_div.rb
facets-2.9.1 lib/core/facets/string/op_div.rb
facets-2.9.0 lib/core/facets/string/op_div.rb
facets-2.9.0.pre.2 lib/core/facets/string/op_div.rb
facets-2.9.0.pre.1 lib/core/facets/string/op_div.rb