diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-01 23:09:35 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-01 23:09:35 +0200 |
| commit | 98936da70412f87051e6237b882ce8f78d2431a2 (patch) | |
| tree | 41270dd75d0c65a12aab1552fe0611f1e7998746 /TODO.md | |
| parent | 35f2d625367e6e476bcac7bf5b25a5cb4579fe92 (diff) | |
refactor: split file.rb into per-class files under lib/dslkeywords/
file.rb was a ~400-line monolith holding seven unrelated classes/modules.
Extract each into its own file so each file has a single responsibility
and stays within the 50-line guideline:
file_backup.rb — FileBackup mixin
symlink.rb — Symlink class + DSL#symlink
touch.rb — Touch class + DSL#touch
directory.rb — Directory class + DSL#directory
file.rb keeps BasicFile, BaseFile, File, and DSL#file.
dsl.rb gains explicit require_relative lines for the new files.
No logic was changed; all 29 tests continue to pass.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'TODO.md')
0 files changed, 0 insertions, 0 deletions
