Sha256: 237f8688e34d38a4fe8e22a53ce2c4a14374d0e86d650f00ae9cbdbd83ccb465

Contents?: true

Size: 286 Bytes

Versions: 10

Compression:

Stored size: 286 Bytes

Contents

require 'facets/string/pathize'

class Class

  # Converts a class name to a unix path.
  #
  #   module ::Example
  #     class PathizeExample
  #     end
  #   end
  #
  #   Example::PathizeExample.pathize  #=> "example/pathize_example"
  #
  def pathize
    name.pathize
  end

end

Version data entries

10 entries across 9 versions & 2 rubygems

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