Let’s give Ruby’s English documentation new homepages! If this is accepted in time, it’ll be applied to the upcoming Ruby 3.4 documentation. We can then explore ways to backport similar changes to older Ruby versions.
The current homepage just shows the project’s readme, which is less helpful than a dedicated page in most cases.
PR: https://github.com/ruby/ruby/pull/12227
=> More informations about this toot | More toots from st0012@ruby.social
@st0012 how about taking https://rubyapi.org/ mostly wholesale?
=> More informations about this toot | More toots from Schneems@ruby.social
@Schneems it’s a bigger work than adding these incremental improvements.
=> More informations about this toot | More toots from st0012@ruby.social
@st0012 that’s fair.
Side note/question. Do you have tips for driving IRB as a background process through STDIN and writing outputs to a file?
I basically want to automate some tutorials that include showing how things should look in the irb REPL including the prompts and interface. But as soon as I run it without a TTY the styles all change and I’m not sure if there’s a combination of flags/settings to get them looking the same again.
=> More informations about this toot | More toots from Schneems@ruby.social
@st0012 more context: https://gist.github.com/schneems/88223a7df82795922fdc1e8e1b47bfc0
=> More informations about this toot | More toots from Schneems@ruby.social
@Schneems By style changes, do you mean the extra nil
and the different prompt irb(main):001:0>
?
It looks like the programmatic version runs an older version of IRB (e.g. the one bundled with Ruby 3.3) where the manual version runs the IRB released as a gem.
=> More informations about this toot | More toots from st0012@ruby.social This content has been proxied by September (3851b).Proxy Information
text/gemini