[ruby-talk:444713] [ANN] path_expander 2.0.0 Released

path_expander version 2.0.0 has been released!

* home: <https://github.com/seattlerb/path_expander&gt;
* rdoc: <http://docs.seattlerb.org/path_expander&gt;

PathExpander helps pre-process command-line arguments expanding
directories into their constituent files. It further helps by
providing additional mechanisms to make specifying subsets easier
with path subtraction and allowing for command-line arguments to be
saved in a file.

NOTE: this is NOT an options processor. It is a path processor
(basically everything else besides options). It does provide a
mechanism for pre-filtering cmdline options, but not with the intent
of actually processing them in PathExpander. Use OptionParser to
deal with options either before or after passing ARGV through
PathExpander.

Changes:

### 2.0.0 / 2025-12-11

* 3 major enhancements:

  * Added #pre_process and #post_process and call them from #process.
  * Modified #process to return self if block given, otherwise Enumerator.
  * Modified #process to take a block for processing files directly.

ยทยทยท

______________________________________________
ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org
To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org
ruby-talk info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org/