---
title: "phares muhambi (@muhambi716) | Hashnode"
description: "phares muhambi (@muhambi716) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@muhambi716"
---

@muhambi716

# phares muhambi

@muhambi716 · Joined March 2022

### [What is Pry?](https://muhambiphares.hashnode.dev/what-is-pry?utm_source=hashnode&utm_medium=feed)

Pry is a REPL (Read, Evaluate, Print, Loop) that pauses your code wherever inserted and allows you to test/debug. When your code gets to the ‘pry’ it will freeze and your terminal will turn into a REPL right in the middle of your program. Using Pry T...

1 min read · [muhambiphares.hashnode.dev](https://muhambiphares.hashnode.dev/what-is-pry?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2022](https://hashnode.com/posts/what-is-pry/630354318cb53b2c16267d6c)

### [Ruby Fundamentals: Hashes](https://muhambiphares.hashnode.dev/ruby-fundamentals-hashes?utm_source=hashnode&utm_medium=feed)

Hashes are basically like JavaScript objects. They are composed of key/value pairs and each key points to a specific value. For example; a\_hash = { name: "John", age: "20" } a\_hash\[:age\] # => "20" To access data from the hash above, bracket notation ...

3 min read · [muhambiphares.hashnode.dev](https://muhambiphares.hashnode.dev/ruby-fundamentals-hashes?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2022](https://hashnode.com/posts/ruby-fundamentals-hashes/630352bb14c73b2c3b9157fd)

### [Ruby Fundamentals: Arrays](https://muhambiphares.hashnode.dev/ruby-fundamentals-arrays?utm_source=hashnode&utm_medium=feed)

In Ruby, to access elements, bracket notation is used with the index of the element. fruits = \["banana", "mango", "pineapple"\] fruits\[0\] # => "banana" fruits\[1\] # => "mango" Bracket notation can be used to update the elements as well. For example; f...

2 min read · [muhambiphares.hashnode.dev](https://muhambiphares.hashnode.dev/ruby-fundamentals-arrays?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2022](https://hashnode.com/posts/ruby-fundamentals-arrays/63034eda8cb53b2c16267b93)

### [Class Variables and Methods in Ruby](https://muhambiphares.hashnode.dev/class-variables-and-methods-in-ruby?utm_source=hashnode&utm_medium=feed)

Classes are like the blueprint from which individual objects are created. Class variables Class methods Private Methods Class Variables Class variables are used to store values related to a class in general rather than a particular instance. Cla...

4 min read · [muhambiphares.hashnode.dev](https://muhambiphares.hashnode.dev/class-variables-and-methods-in-ruby?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2022](https://hashnode.com/posts/class-variables-and-methods-in-ruby/6303480014c73b2c3b915574)

### [Array Iteration](https://muhambiphares.hashnode.dev/array-iteration?utm_source=hashnode&utm_medium=feed)

ARRAY ITERATOR METHODS. WHAT IS ARRAY ITERATOR?.... An array is a single variable that is used to store different elements. Array iteration-This is used to traverse an array and dynamically access elements of that array. it operates on every array...

2 min read · [muhambiphares.hashnode.dev](https://muhambiphares.hashnode.dev/array-iteration?utm_source=hashnode&utm_medium=feed)

[Aug 22, 2022](https://hashnode.com/posts/array-iteration/63033d6f14c73b2c3b91529c)
