Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7956445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:59:32+00:00 2026-06-04T03:59:32+00:00

Searching on ‘ruby AboutClasses’ gets no hits in SO nor in Google. class Dog

  • 0

Searching on ‘ruby AboutClasses’ gets no hits in SO nor in Google.

class Dog
end

fido = Dog.new
puts Dog.inspect
puts fido.inspect

The result is

AboutClasses::Dog
#<AboutClasses::Dog:0x6255f0>

Can you please explain:

  • What the term AboutClasses is?
  • The notation in the second result #<xxxxx>. I understand it’s an instance, but why put the #<> around it?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:59:33+00:00Added an answer on June 4, 2026 at 3:59 am

    Searching GitHub yields a bunch of Ruby source files containing require 'about_classes', all of them in forks of ruby_koans.

    In fact, file about_classes.rb file contains a class Dog, named fido, within a class named AboutClasses. I’m guessing you have loaded this class or are executing it.

    To answer your specific questions about #<AboutClasses::Dog:0x6255f0>:

    1. The term “AboutClasses” is just a class or module name. You can nest them, so that the outer class or module acts like a namespace. That way, your Dog class doesn’t clash with the Dog class in some other gem you’ve loaded. When you nest them, the names are separated by ::.

    2. The notation #<ClassName:MemoryAddress> is just a notation. The hash mark and angle bracket are just there to set it apart from, well, everything else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Searching from google.com, like www.abc.com Search Result Rank the pages like Title..... Description... www.abc.com
Searching for a simple first-child detection via javascript (no framework). It should add class
Searching SO and Google, I've found that there are a few Java HTML parsers
Searching on the documentation provided by google and browsing SO I haven't found a
After searching stackoverflow and Google for the past hour I thought I would ask.
While searching on google, I came acrross through BLinq, all I see is the
Searching on Google reveals x2 code snippets. The first result is to this code
Searching google for +github +ssh no address associated with name gives the following SO
After searching Google I found one way to call a master page function from
Searching Stackoverflow on Google I get this result: Inspecting the HTML source of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.