Sha256: 3ef3a388d8ed3e6fc85c19fa2ae416429d3fb23644a95ba2c0e1c7bc014aaddd

Contents?: true

Size: 279 Bytes

Versions: 7

Compression:

Stored size: 279 Bytes

Contents

== String#methodize

  require 'facets/string/methodize'

module name

  a = "FooBase"
  r = "foo_base"
  a.methodize.assert == r

path name

  a = "foo/base"
  r = "foo__base"
  a.methodize.assert == r

name space

  a = "Foo::Base"
  r = "foo__base"
  a.methodize.assert == r

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
facets-3.0.0 demo/core/string/methodize.rdoc
facets-2.9.3 qed/core/string/methodize.rdoc
facets-2.9.2 qed/core/string/methodize.rdoc
facets-2.9.1 qed/core/string/methodize.rdoc
facets-2.9.0 qed/core/string/methodize.rdoc
facets-2.9.0.pre.2 qed/core/string/methodize.rdoc
facets-2.9.0.pre.1 qed/core/string/methodize.rdoc