RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Ruby 3.3 Introduces Range#overlap? method

Compare two ranges and see if they overlap each other with the Ruby overlap? method. It returns true if two ranges overlap each other.

https://blog.saeloun.com/2023/12/11/ruby-3-3-introduces-range-overlap/

ruby #ruby3.3 #range #overlap #rails

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in