Module: Avm::RunnerWith::FileReplacer::TopMethods
- Defined in:
- lib/avm/runner_with/file_replacer.rb
Instance Method Summary collapse
Instance Method Details
#replace_file?(_file) ⇒ Boolean
18 19 20 |
# File 'lib/avm/runner_with/file_replacer.rb', line 18 def replace_file?(_file) true end |
#text_replacer ⇒ Object
14 15 16 |
# File 'lib/avm/runner_with/file_replacer.rb', line 14 def text_replacer ::Avm::Files::TextReplacer.new end |
#traverser_check_file(file) ⇒ Object
22 23 24 25 26 |
# File 'lib/avm/runner_with/file_replacer.rb', line 22 def traverser_check_file(file) return unless replace_file?(file) infov 'Changed', file if text_replacer.file_apply(file) end |