• Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram
Starby Four

Vibes|Music|Tech

  • Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram
  • Home
  • About
  • Social
    • Twitter
    • LinkedIn
    • Instagram

No Widgets found in the Sidebar Alt!

  • Tech

    Enumerables–A Cleaner Way to Iterate!!! [Ruby Programming Language Notes]

    May 18, 2021 /

    ENUMERABLES Enumerables–a cleaner way to iterate. Enumerable Methods–a way to quickly iterate thru an array or string array. array .each The ‘.each’ method takes in a {block-of-code} instead of (parameters). ‘.each’ passes on just the element. {block-of-code}–uses curly brackets{} to represent it. .each_with_index The ‘.each_with_index’ passes on the element, with the index, to the block of code. string .each_char .each_char.with_index Range enumerable–allows us to control where we start iterating & where we stop. (start..end).each iterate from start to end (inclusive!) (start…end).each iterate from start to end (excluding end!) A range can also be used on letters & other patterns, not just numbers!) Array Syntax for it: months = [ “Jan”,…

    read more
    Aaron Comments Off on Enumerables–A Cleaner Way to Iterate!!! [Ruby Programming Language Notes]

    You May Also Like

    TCP/IP Applications–Making TCP/IP Work–NETWORKING, SECURITY, & MORE ESSENTIALS—CompTIA Network+ (N10-007) NETWORK-PLUS Certification Prep Course Notes

    May 13, 2021

    Blockchain & Money: Session 11: Blockchain Economics by M.I.T. Sloan School of Management with Professor Gary Gensler

    April 19, 2021

    A Comment on Comments In Programming Languages…

    May 24, 2021

Archives

Categories

More

About

Documentation

Vim

Recent Posts

  • Metaverse security is a thing because security is still a thing…
  • What is a password manager and why do you need one…
  • What Is The Metaverse?
  • FAA Plans Warnings on 5G…What 5G Means for the FAA, FCC and Air-safety…
  • Blockchain & Money: Session 18: , by M.I.T. Sloan School of Management with Professor Gary Gensler

Tags

2020 A+ Bitcoin Blockchain C++ Careers CLI Cloud Coding CompTIA CompTIA A+ CompTIA Network+ Course Notes Covid-19 Crypto Cryptography Cyberattack Cybersecurity Data Structures Definitions Economy Essential Music Functions Learning Life M.I.T. Methods Mobile Music Music Video Networking News Notes NYC Peering Programming Ruby Security Structured Programming TCP/IP Tech Terminal The Internet Video Wireless Networking
© 2025 Starby Four.
Ashe Theme by WP Royal.