Sha256: 57ce822178a327fbb790bdefbefce9d41d6cc3bad88fd7825d6ee7990fafa6b8

Contents?: true

Size: 110 Bytes

Versions: 6

Compression:

Stored size: 110 Bytes

Contents

class Array

  # Turn an array into a file path.

  def to_path
    File.join( *(self.compact) )
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
facets-1.8.0 lib/facets/core/array/to_path.rb
facets-1.8.20 lib/facets/core/array/to_path.rb
facets-1.8.49 lib/facets/core/array/to_path.rb
facets-1.8.51 lib/facets/core/array/to_path.rb
facets-1.8.8 lib/facets/core/array/to_path.rb
facets-1.8.54 lib/facets/core/array/to_path.rb