---
title: "Discussion on \"Ruby itself\" | Hashnode"
description: "Discussion on \"Ruby itself\". It’s interesting to discover that Ruby has an instance method itself for the object. It returns the receiver itself—whatever the kind of receiver is.\nLet’s see a few examples:\n\nwebsite = \"Hashnode\" # => \"Hashnode\"\nwebsite.itself # => \"Hashnode\"\nwebsi..."
url: "https://hashnode.com/posts/ruby-itself/6794b5c1a787a16fc0c87277"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ruby itself](https://sinn.hashnode.dev/ruby-itself?utm_source=hashnode&utm_medium=feed)

It’s interesting to discover that Ruby has an instance method itself for the object. It returns the receiver itself—whatever the kind of receiver is. Let’s see a few examples: website = "Hashnode" # => "Hashnode" website.itself # => "Hashnode" websi...

Jan 25, 2025 · 1 min read · sinn.hashnode.dev  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#ruby-on-rails](https://hashnode.com/tag/ruby-on-rails)

## Written by

[Sinn Meas](https://hashnode.com/@Sinn)

@Sinn · Siem Reap, Cambodia

  
[View profile](https://hashnode.com/@Sinn)

A web developer in Ruby on Rails and React

My personal blog about software development and other topics.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
