No not the rails console!
ERB stands for Embedded Ruby!
You know when you do rails generate controller abc def
you get a file def.html.erb
that’s an ERB file, an Embedded Ruby file
The contents of that file get preprocessed , such that anything outside of <%…%> gets outputted, and anything inside <%…%> gets executed and <%=…%> involves execution and a result outputted.
PHP has a similar concept… PHP though also has a PHP.EXE file that you can run a file through and get the output.
I see it now, it’s mentioned here
C:\Ruby24-x64\bin>dir erb.* /s/b
<%= 5 %>