Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/glitched_string.rb

Instance Method Summary collapse

Instance Method Details

#glitch(options = {}) ⇒ Object



140
141
142
# File 'lib/glitched_string.rb', line 140

def glitch(options = {})
  GlitchedString.glitch(self, options)
end

#glitch!(options = {}) ⇒ Object



143
144
145
# File 'lib/glitched_string.rb', line 143

def glitch!(options = {})
  self.replace(GlitchedString.glitch(self, options))
end