Sha256: bdea391a8ad433415e79adae1a93ce037d79f5c6411b6f326e69b95e181a82c8

Contents?: true

Size: 398 Bytes

Versions: 10

Compression:

Stored size: 398 Bytes

Contents

require 'facets/string/op_div'

class Symbol

  # Join with _path_ as a file path.
  #
  # * path - The path component(s) to append. [#to_s]
  #
  # Examples
  #
  #   (:merb / "string")   #=> "merb/string"
  #   (:merb / :symbol)    #=> "merb/symbol"
  #
  # Returns String of the receiver (as a path string), concatenated
  # with _path_.
  def /(path)
    File.join(to_s, 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/symbol/op_div.rb
facets-3.1.0 lib/core/facets/symbol/op_div.rb
facets-3.0.0 lib/core/facets/symbol/op_div.rb
facets-2.9.3 lib/core/facets/symbol/op_div.rb
facets-2.9.2 lib/core/facets/symbol/op_div.rb
facets-2.9.2 src/core/facets/symbol/op_div.rb
facets-2.9.1 lib/core/facets/symbol/op_div.rb
facets-2.9.0 lib/core/facets/symbol/op_div.rb
facets-2.9.0.pre.2 lib/core/facets/symbol/op_div.rb
facets-2.9.0.pre.1 lib/core/facets/symbol/op_div.rb