Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/sincli/utils/string.rb
Instance Method Summary collapse
Instance Method Details
#dash_case ⇒ Object
2 3 4 |
# File 'lib/sincli/utils/string.rb', line 2 def dash_case parameterize.dasherize end |
#snake_case ⇒ Object
6 7 8 |
# File 'lib/sincli/utils/string.rb', line 6 def snake_case parameterize.underscore end |