Sha256: 210a47bcaaaa2df73b4d4840a50ae85e861a6d8e84343992c44355e472865909

Contents?: true

Size: 209 Bytes

Versions: 14

Compression:

Stored size: 209 Bytes

Contents

require 'facets/string/methodize'

class Module

  # Translate a module name to a suitable method name.
  #
  #   My::CoolClass.methodize => "my__cool_class"
  #
  def methodize
    name.methodize
  end

end

Version data entries

14 entries across 14 versions & 2 rubygems

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