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
411 412 413 |
# File 'lib/runtime/mixins.rb', line 411 def +(other) format(JoinedTemplate, str: self.to_s, other: other.to_s) end |
#camelize(_s = nil) ⇒ Object
431 432 433 |
# File 'lib/runtime/mixins.rb', line 431 def camelize(_s = nil) to_s.camelize end |
#dequote ⇒ Object
435 436 437 |
# File 'lib/runtime/mixins.rb', line 435 def dequote to_s.dequote end |
#save(file) ⇒ Object
439 440 441 |
# File 'lib/runtime/mixins.rb', line 439 def save(file) to_s.save file end |
#snake_case ⇒ Object
423 424 425 |
# File 'lib/runtime/mixins.rb', line 423 def snake_case to_s.snake_case end |
#titleize ⇒ Object
427 428 429 |
# File 'lib/runtime/mixins.rb', line 427 def titleize to_s.titleize end |
#to_n ⇒ Object
415 416 417 |
# File 'lib/runtime/mixins.rb', line 415 def to_n to_s.to_n end |
#underscore(options = {}) ⇒ Object
419 420 421 |
# File 'lib/runtime/mixins.rb', line 419 def underscore( = {}) to_s.underscore() end |