Class: Avm::Files::TextReplacer::Gsub
- Inherits:
-
Object
- Object
- Avm::Files::TextReplacer::Gsub
- Defined in:
- lib/avm/files/text_replacer/gsub.rb
Instance Method Summary collapse
Instance Method Details
#apply(input) ⇒ Object
14 15 16 |
# File 'lib/avm/files/text_replacer/gsub.rb', line 14 def apply(input) input.gsub(from, to) end |
#to_s ⇒ Object
18 19 20 |
# File 'lib/avm/files/text_replacer/gsub.rb', line 18 def to_s "\"#{from}\" => \"#{to}\"" end |