Class: Symbol
Overview
The Symbol class
Instance Method Summary collapse
- #+(other) ⇒ Object
- #camelize(_s = nil) ⇒ Object
- #dequote ⇒ Object
- #save(file) ⇒ Object
- #snake_case ⇒ Object
- #titleize ⇒ Object
- #to_n ⇒ Object
- #underscore(options = {}) ⇒ Object
Instance Method Details
#+(other) ⇒ Object
412 413 414 |
# File 'lib/story_teller/mixins.rb', line 412 def +(other) format(JoinedTemplate, str: self.to_s, other: other.to_s) end |
#camelize(_s = nil) ⇒ Object
432 433 434 |
# File 'lib/story_teller/mixins.rb', line 432 def camelize(_s = nil) to_s.camelize end |
#dequote ⇒ Object
436 437 438 |
# File 'lib/story_teller/mixins.rb', line 436 def dequote to_s.dequote end |
#save(file) ⇒ Object
440 441 442 |
# File 'lib/story_teller/mixins.rb', line 440 def save(file) to_s.save file end |
#snake_case ⇒ Object
424 425 426 |
# File 'lib/story_teller/mixins.rb', line 424 def snake_case to_s.snake_case end |
#titleize ⇒ Object
428 429 430 |
# File 'lib/story_teller/mixins.rb', line 428 def titleize to_s.titleize end |
#to_n ⇒ Object
416 417 418 |
# File 'lib/story_teller/mixins.rb', line 416 def to_n to_s.to_n end |
#underscore(options = {}) ⇒ Object
420 421 422 |
# File 'lib/story_teller/mixins.rb', line 420 def underscore( = {}) to_s.underscore() end |