---
title: "Philicare (@philicare) | Hashnode"
description: "Share and learn. Read the latest articles by Philicare on Hashnode."
url: "https://hashnode.com/@philicare"
---

@philicare

# Philicare

@philicare · Joined November 2025

Share and learn

### [Elixir-like pipes in Ruby](https://langage-ruby.hashnode.dev/elixir-like-pipes-in-ruby?utm_source=hashnode&utm_medium=feed)

If you use Elixir (and the Phoenix framework), you’ve probably admired the beauty and power of the |> pipelines. For example: "String" |> add(" is a common type") |> IO.puts # => "String is a common type" In Ruby, the same mechanism can be achieved ...

2 min read · [langage-ruby.hashnode.dev](https://langage-ruby.hashnode.dev/elixir-like-pipes-in-ruby?utm_source=hashnode&utm_medium=feed)

[Dec 5, 2025](https://hashnode.com/posts/elixir-like-pipes-in-ruby/6933641bcbedaff09fdf32c8)

### [Membership in a list (Set)](https://langage-ruby.hashnode.dev/membership-in-a-list-set?utm_source=hashnode&utm_medium=feed)

Using Set is probably the most convenient way to check for membership in a list since values are stored like in a Hash. Set uses the === method to check membership, which allows: case 'apple' when Set\['bean', 'cauliflower', 'carrot'\] "vegetable" wh...

1 min read · [langage-ruby.hashnode.dev](https://langage-ruby.hashnode.dev/membership-in-a-list-set?utm_source=hashnode&utm_medium=feed)

[Dec 4, 2025](https://hashnode.com/posts/membership-in-a-list-set/69314dbb3ab44a2129e2b374)

### [Checking for the existence of a Hash key](https://langage-ruby.hashnode.dev/checking-for-the-existence-of-a-hash-key?utm_source=hashnode&utm_medium=feed)

You can test whether a key is present in a hash and return a precise message when it fails thanks to the KeyError exception raised by #fetch: begin {one: "1", two: "2"}.fetch(:three) rescue => e p "The key #{e.key.inspect} cannot be found in #{e....

1 min read · [langage-ruby.hashnode.dev](https://langage-ruby.hashnode.dev/checking-for-the-existence-of-a-hash-key?utm_source=hashnode&utm_medium=feed)

[Dec 3, 2025](https://hashnode.com/posts/checking-for-the-existence-of-a-hash-key/692ffc45f739b8a7c63f8c24)

### [Semi-predicate methods](https://langage-ruby.hashnode.dev/semi-predicate-methods?utm_source=hashnode&utm_medium=feed)

In many languages, “predicates” are methods that return either true or false. In Ruby, they’re traditionally marked with a trailing question mark. def are\_you\_ok? if yes true else false end end This question mark is only a convention. ...

1 min read · [langage-ruby.hashnode.dev](https://langage-ruby.hashnode.dev/semi-predicate-methods?utm_source=hashnode&utm_medium=feed)

[Dec 2, 2025](https://hashnode.com/posts/semi-predicate-methods/692eaac1d662d584fcc23ffe)

### [Les méthodes semi-prédicatives](https://langage-ruby.hashnode.dev/les-methodes-semi-predicatives?utm_source=hashnode&utm_medium=feed)

On appelle dans les différents langages « prédicats » les méthodes qui retournent soit true soit false. dans la beau du langage Ruby, elles sont reconnaissables au fait de porter un point d’interrogation à la fin de leur nom. def est\_que\_tu\_vas\_bien?...

2 min read · [langage-ruby.hashnode.dev](https://langage-ruby.hashnode.dev/les-methodes-semi-predicatives?utm_source=hashnode&utm_medium=feed)

[Dec 2, 2025](https://hashnode.com/posts/les-methodes-semi-predicatives/692eaaafb90eb8113df74225)
