Module: English::Style::Replace

Included in:
String
Defined in:
lib/gems/english-0.3.1/lib/english/style.rb

Overview

TODO: Replace this will dynamic generate of inplace methods.

But only when the base defines #replace (?) Need to
think about this some more.

Instance Method Summary collapse

Instance Method Details

#camelcase!Object



274
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 274

def camelcase!     ; replace(camelcase)     ; end

#capitalcase!Object



270
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 270

def capitalcase!   ; replace(capitalcase)   ; end

#capitalize!Object



269
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 269

def capitalize!    ; replace(capitalize)    ; end

#demodulize!Object



285
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 285

def demodulize!    ; replace(demodulize)    ; end

#downcase!Object



265
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 265

def downcase!      ; replace(downcase)      ; end

#dresner!Object



280
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 280

def dresner!       ; replace(dresner)       ; end

#jumble!Object



279
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 279

def jumble!        ; replace(jumble)        ; end

#lowercase!Object



266
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 266

def lowercase!     ; replace(lowercase)     ; end

#methodize!Object



283
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 283

def methodize!     ; replace(methodize)     ; end

#modulize!Object



284
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 284

def modulize!      ; replace(modulize)      ; end

#ordinalize!Object



277
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 277

def ordinalize!    ; replace(ordinalize)    ; end

#pathize!Object



282
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 282

def pathize!       ; replace(pathize)       ; end

#snakecase!Object



273
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 273

def snakecase!     ; replace(snakecase)     ; end

#subcamelcase!Object



275
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 275

def subcamelcase!  ; replace(subcamelcase)  ; end

#titlecase!Object



272
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 272

def titlecase!     ; replace(titlecase)     ; end

#uncapitalcase!Object



271
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 271

def uncapitalcase! ; replace(uncapitalcase) ; end

#upcase!Object



267
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 267

def upcase!        ; replace(upcase)        ; end

#uppercase!Object



268
# File 'lib/gems/english-0.3.1/lib/english/style.rb', line 268

def uppercase!     ; replace(uppercase)     ; end