Class: Coolify_Gem::Undo
- Inherits:
-
Object
- Object
- Coolify_Gem::Undo
- Defined in:
- lib/coolify_gem/undo.rb
Instance Method Summary collapse
-
#initialize(text) ⇒ Undo
constructor
A new instance of Undo.
- #undoCool ⇒ Object
Constructor Details
#initialize(text) ⇒ Undo
Returns a new instance of Undo.
2 3 4 |
# File 'lib/coolify_gem/undo.rb', line 2 def initialize(text) @cooltext = text end |
Instance Method Details
#undoCool ⇒ Object
6 7 8 |
# File 'lib/coolify_gem/undo.rb', line 6 def undoCool @cooltext.gsub("z", "s") end |