Class: Wlog::ReplacePattern
- Inherits:
-
Commandable
- Object
- Commandable
- Wlog::ReplacePattern
- Defined in:
- lib/wlog/commands/replace_pattern.rb
Overview
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(db, id, oldpat, newpat) ⇒ ReplacePattern
constructor
A new instance of ReplacePattern.
Constructor Details
#initialize(db, id, oldpat, newpat) ⇒ ReplacePattern
Returns a new instance of ReplacePattern.
8 9 10 |
# File 'lib/wlog/commands/replace_pattern.rb', line 8 def initialize(db, id, oldpat, newpat) @db, @id, @oldpat, @newpat = db, id, oldpat, newpat end |