Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/awspec/ext/string.rb
Instance Method Summary collapse
Instance Method Details
#camelize ⇒ Object
4 5 6 |
# File 'lib/awspec/ext/string.rb', line 4 def camelize Dry::Inflector.new.camelize(self) end |
#demodulize ⇒ Object
16 17 18 |
# File 'lib/awspec/ext/string.rb', line 16 def demodulize Dry::Inflector.new.demodulize(self) end |
#pluralize ⇒ Object
8 9 10 |
# File 'lib/awspec/ext/string.rb', line 8 def pluralize Dry::Inflector.new.pluralize(self) end |
#underscore ⇒ Object
12 13 14 |
# File 'lib/awspec/ext/string.rb', line 12 def underscore Dry::Inflector.new.underscore(self) end |