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 9255523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:44:11+00:00 2026-06-18T11:44:11+00:00

I know this may seem like a really simple question, but it really bothers

  • 0

I know this may seem like a really simple question, but it really bothers me that my puts keep generating “=> nil” and I scoured for an answer but could not find one. Thanks.

puts ‘blink ‘ *4
blink blink blink blink
=> nil

  • 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-18T11:44:13+00:00Added an answer on June 18, 2026 at 11:44 am

    Because that is the return value of puts:

    puts(obj, …) → nil

    Writes the given objects to ios as with IO#print.
    Writes a record separator (typically a newline) after any that do not
    already end with a newline sequence. If called with an array argument,
    writes each element on a new line. If called without arguments,
    outputs a single record separator.

    source: http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-puts

    Also, I assume this is just in irb? because calling puts doesn’t display its return value in normal applications.

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

Sidebar

Related Questions

I know this may seem like a math question but i just saw this
Now this may seem like a silly question, but I need to know how
This may seem like a dumb question, but still I don't know the answer.
I know this may seem like a common question on SO but I could
This may seem like a really off-the-wall question, but I've been learning how Backbone.js
This may seem like a dumb question but I don't know how to do
I know this may seem like a strange question, but say I have two
This may seem like a really daft question, but what is the reason for
This may seem like a no-brainier, but the thing is I wont know the
I know that this may be an amateur question but for some reason I

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.