Sha256: 291afce8e2721a8acdb674e9343541c2517bd5cc53c5550d2778e50332f5f7de

Contents?: true

Size: 188 Bytes

Versions: 14

Compression:

Stored size: 188 Bytes

Contents

require 'facets/string/pathize'

class Class

  # Converts a class name to a unix path.
  #
  #   My::CoolClass.pathize  #=> "my/cool_class"
  #
  def pathize
    name.pathize
  end

end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
facets-2.8.4 lib/core/facets/class/pathize.rb
facets-2.8.3 lib/core/facets/class/pathize.rb
facets-2.8.2 lib/core/facets/class/pathize.rb
facets-2.8.1 lib/core/facets/class/pathize.rb
facets-2.8.0 lib/core/facets/class/pathize.rb
facets-2.7.0 lib/core/facets/class/pathize.rb
facets-2.6.0 lib/core/facets/class/pathize.rb
facets-2.4.4 lib/core/facets/class/pathize.rb
facets-2.4.3 lib/core/facets/class/pathize.rb
facets-2.4.5 lib/core/facets/class/pathize.rb
facets-2.5.0 lib/core/facets/class/pathize.rb
facets-2.5.1 lib/core/facets/class/pathize.rb
facets-2.5.2 lib/core/facets/class/pathize.rb
mack-facets-0.8.2 lib/gems/facets-2.4.5/lib/core/facets/class/pathize.rb