Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_inflector/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#underscoreString

Makes an underscored, lowercase form from ‘self`.

See SimpleInflector#underscore.

Returns:

  • (String)

    Underscored name.



11
12
13
# File 'lib/simple_inflector/core_ext/string.rb', line 11

def underscore
	::SimpleInflector.underscore( self )
end