Class: String
Instance Method Summary
collapse
#from_query, #snake_case, #to_const_path
Instance Method Details
#classify ⇒ Object
385
386
387
|
# File 'lib/extlib_lite/inflections.rb', line 385
def classify
Extlib::Inflection.classify(self)
end
|
#constantize ⇒ Object
388
389
390
|
# File 'lib/extlib_lite/inflections.rb', line 388
def constantize
Extlib::Inflection.constantize(self)
end
|
#plural ⇒ Object
Also known as:
pluralize
381
382
383
|
# File 'lib/extlib_lite/inflections.rb', line 381
def plural
Extlib::Inflection.plural(self)
end
|
#singular ⇒ Object
Also known as:
singularize
377
378
379
|
# File 'lib/extlib_lite/inflections.rb', line 377
def singular
Extlib::Inflection.singular(self)
end
|
#underscore ⇒ Object
391
392
393
|
# File 'lib/extlib_lite/inflections.rb', line 391
def underscore
Extlib::Inflection.underscore(self)
end
|