We’ve had Ruby 2.5 in beta for a while now, although we haven’t talked about it much. It’s been working wonderfully, though, and rubies make great holiday gifts for the geologists in your life. So it’s time to go General Availability!Documentation Index
Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
Use this file to discover all available pages before exploring further.
What gems does this version have?
Ruby 2.5 has a bunch of very cool language features, and probably the most interesting isyield_self; it rather resembles the pipe operator from Elixir, and pipes are cool. Method chaining is also a great way to simplify syntax, and this basically gives you a more general approach then the .map and .select we’re already used to.
Also nice in day-to-day life “rescue in do blocks” it reduces clutter and unnecessary indentation.
Is it expensive like a real ruby?
Not at all! As always, migrating your Ruby apps is as easy as changing a single character in your.platform.app.yaml file:
so instead of :