Class: SDL::Name
- Inherits:
-
String
- Object
- String
- SDL::Name
- Defined in:
- lib/sdl/name.rb
Overview
An extension of a string that will format a name
Instance Method Summary collapse
- #camel ⇒ String
- #camels ⇒ String
- #description ⇒ String
- #descriptions ⇒ String
- #entities ⇒ String
- #entity ⇒ String
- #label ⇒ String
- #labels ⇒ String
- #param ⇒ String
- #params ⇒ String
- #plural ⇒ String
- #scream ⇒ String
- #screams ⇒ String
- #snake ⇒ String
- #snakes ⇒ String
- #table ⇒ String
- #title ⇒ String
- #titles ⇒ String
Instance Method Details
#camel ⇒ String
35 |
# File 'lib/sdl/name.rb', line 35 inflect :camel, %i[lower_camelize] |
#camels ⇒ String
36 |
# File 'lib/sdl/name.rb', line 36 inflect :camels, %i[pluralize lower_camelize] |
#description ⇒ String
45 |
# File 'lib/sdl/name.rb', line 45 inflect :description, %i[lower_humanize] |
#descriptions ⇒ String
46 |
# File 'lib/sdl/name.rb', line 46 inflect :descriptions, %i[pluralize lower_humanize] |
#entities ⇒ String
40 |
# File 'lib/sdl/name.rb', line 40 inflect :entities, %i[pluralize camelize] |
#entity ⇒ String
39 |
# File 'lib/sdl/name.rb', line 39 inflect :entity, %i[camelize] |
#label ⇒ String
43 |
# File 'lib/sdl/name.rb', line 43 inflect :label, %i[humanize] |
#labels ⇒ String
44 |
# File 'lib/sdl/name.rb', line 44 inflect :labels, %i[pluralize humanize] |
#param ⇒ String
37 |
# File 'lib/sdl/name.rb', line 37 inflect :param, %i[dasherize] |
#params ⇒ String
38 |
# File 'lib/sdl/name.rb', line 38 inflect :params, %i[pluralize dasherize] |
#plural ⇒ String
30 |
# File 'lib/sdl/name.rb', line 30 inflect :plural, %i[pluralize] |
#scream ⇒ String
33 |
# File 'lib/sdl/name.rb', line 33 inflect :scream, %i[underscore upcase] |
#screams ⇒ String
34 |
# File 'lib/sdl/name.rb', line 34 inflect :screams, %i[pluralize underscore upcase] |
#snake ⇒ String
31 |
# File 'lib/sdl/name.rb', line 31 inflect :snake, %i[underscore] |
#snakes ⇒ String
32 |
# File 'lib/sdl/name.rb', line 32 inflect :snakes, %i[underscore pluralize] |
#table ⇒ String
29 |
# File 'lib/sdl/name.rb', line 29 inflect :table, %i[tableize] |
#title ⇒ String
41 |
# File 'lib/sdl/name.rb', line 41 inflect :title, %i[titleize] |
#titles ⇒ String
42 |
# File 'lib/sdl/name.rb', line 42 inflect :titles, %i[pluralize titleize] |