Method: StewEucen::Acts::IntactCase::String#hyphenated
- Defined in:
- lib/intact_case/modules.rb
#hyphenated(as_vendor_prefix = false) ⇒ string
Hyphenate compound words from camelCase|StudlyCaps.
111 112 113 |
# File 'lib/intact_case/modules.rb', line 111 def hyphenated(as_vendor_prefix = false) self.delimiterize('-', as_vendor_prefix) end |