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