# Gremlins -- Ruby interpreter suggestion

**URL:** <https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586>\
**Category:** Ruby\
**Created:** [July 5, 2007, 4:16am UTC](https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586 "2007-07-05T04:16:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [July 5, 2007, 4:16am UTC](https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586/1 "2007-07-05T04:16:20Z")

</div>

I would like to make a suggestion for the Ruby interpreter to not  
complain about gremlins (extra newline characters) after the final  
end in a file.  
This is often the source of unnecessary bugs.  
It would also be nice to be able to put a comment or two after that  
last end !

John J.

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [July 5, 2007, 7:27am UTC](https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586/2 "2007-07-05T07:27:31Z")

</div>

On Jul 4, 2007, at 9:51 PM, Yukihiro M. wrote:

> |It would also be nice to be able to put a comment or two after that  
> |last end !
> 
> Can you elaborate? Preferably with input that cause errors, and with  
> modified message you want to see.
> 
> ```
> matz.
> 
> ```

When it occurs again, I will post it. I can’t seem to re-create it  
now. Maybe it’s my imagination?!

---

<div class="post-metadata">

**Author:** ![john\_old](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9f8e36/32.png) [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Post date:** [July 5, 2007, 4:52am UTC](https://www.ruby-forum.com/t/gremlins-ruby-interpreter-suggestion/108586/3 "2007-07-05T04:52:22Z")

</div>

Hi,

In message “Re: Gremlins – Ruby interpreter suggestion”  
on Thu, 5 Jul 2007 11:15:33 +0900, John J.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) writes:

|I would like to make a suggestion for the Ruby interpreter to not  
|complain about gremlins (extra newline characters) after the final  
|end in a file.  
|This is often the source of unnecessary bugs.  
|It would also be nice to be able to put a comment or two after that  
|last end !

Can you elaborate? Preferably with input that cause errors, and with  
modified message you want to see.

```
          matz.

```
