Ayush Poddar's Wiki

      • Business
      • Financial philosophies and lessons
      • Investments and Personal Finance
      • Taxation
      • Documentation on some tools
      • Events, anecdotes and facts
      • Life Philosophies
      • Politics, governance and legals
      • Productivity
      • Climate change
      • High level designs - Software Systems
      • Industrial production
      • Software engineering

    Ruby triple equal operator

    Dec 16, 20241 min read

    a === b answers the question “is b is inherently part of a”

    (1..100) === 3        # True
    String === "hi"       # True
    /abcd/ === "abcdefg"  # True

    Sources

    • https://www.exceptionalcreatures.com/guides/advanced-rescue-and-raise

    Graph View

    Backlinks

    • Software engineering
    • How does rescue matchers work in Ruby and how can we hack it

    Created with Quartz v4.4.0 © 2024

    • GitHub
    • Discord Community