-
fast
Find in AST - Search and refactor code directly in Abstract Syntax Tree as you do with grep for strings (by jonatas)
Some of these tools have even already been wrapped, like Jonatas's work on FFast which works on top of NodePattern and some of RuboCop's previous work. Really the only things between us and this future is a bit more wrapping and polish, as well as integrations into something like VSCode.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Let's take a glance at the action_filter cop real quick here, but just a quick part of it:
-
As it would happen, the folks behind Ruby Next have some ideas here, and have done a significant amount of work in enabling this very vision to become a reality.
-
There are already some techniques capable of doing just this, by combining Parser with Unparser, but of course such things can only be done on Ruby files read in rather than in a REPL session which is where a lot more fun could happen.
Related posts
-
Rubocop-obsession: RuboCop extension focused on higher-level concepts
-
Five Things to Avoid in Ruby
-
Utilities for refactoring and upgrading Ruby code based on ASTs
-
Am I the only one who doesn't put parentheses around the parameters in Ruby method definitions?
-
Standardrb: Ruby's bikeshed-proof linter and formatter