# Question mark at end of method name

**URL:** <https://rubytalk.org/t/question-mark-at-end-of-method-name/31640>\
**Category:** ruby-talk\
**Created:** [5 October 2006 19:17 UTC](https://rubytalk.org/t/question-mark-at-end-of-method-name/31640 "2006-10-05T19:17:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gavin\_Kistner](https://avatars.discourse-cdn.com/v4/letter/g/ed655f/32.png) [@Gavin\_Kistner](https://rubytalk.org/u/Gavin_Kistner)\
**Post date:** [5 October 2006 19:17 UTC](https://rubytalk.org/t/question-mark-at-end-of-method-name/31640/1 "2006-10-05T19:17:46Z")

</div>

> what does the question mark at the end of a method name represent?  
> i've seen what ! does....what is ?

It is a convention that indicates that the method is likely to return a  
boolean value.

! is a convention that indicates that the method is 'dangerous',  
possibly modifying the receiving instance or doing other drastic things.

> **···**
>
> From: py [mailto:codecraig@gmail.com]
