# Does ruby have source filters?

**URL:** <https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474>\
**Category:** Ruby\
**Created:** [August 21, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474 "2008-08-21T14:31:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpc2148](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9de053/32.png) [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Post date:** [August 21, 2008, 2:31pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474/1 "2008-08-21T14:31:50Z")

</div>

I come from a perl background , and in perl there was a module called  
Filter::Simple , which made possible writing code in latin ( by  
transforming the code you wrote before it reached the interpreter ) , or  
whatever strange preferences users might had .  
Is there anything similar in ruby ?

---

<div class="post-metadata">

**Author:** ![lpc2148](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9de053/32.png) [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Post date:** [August 21, 2008, 2:50pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474/2 "2008-08-21T14:50:49Z")

</div>

On Thu, Aug 21, 2008 at 2:28 PM, Lex W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I come from a perl background , and in perl there was a module called  
> Filter::Simple , which made possible writing code in latin ( by  
> transforming the code you wrote before it reached the interpreter ) , or  
> whatever strange preferences users might had .  
> Is there anything similar in ruby ?

Not builtin.

There are some hacks around, google for “ruby source filter”.

---

<div class="post-metadata">

**Author:** ![lpc2148](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9de053/32.png) [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Post date:** [August 21, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474/3 "2008-08-21T15:29:32Z")

</div>

You have to actually call it by its foreign name. Like  
Ilterfay::Implesay.

---

<div class="post-metadata">

**Author:** ![lpc2148](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9de053/32.png) [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Post date:** [August 21, 2008, 4:37pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474/4 "2008-08-21T16:37:21Z")

</div>

Lex W. wrote:

> Clinton D. Judy wrote:
> 
> > You have to actually call it by its foreign name. Like  
> > Ilterfay::Implesay.
> 
> What is Ilterfay::Implesay? Neither google , nor rubyforge returns any  
> results.

> **[Pig Latin](https://en.wikipedia.org/wiki/Pig_latin)**
>
> Pig Latin is a language game or argot in which words in English are altered, usually by adding a fabricated suffix or by moving the onset or initial consonant or consonant cluster of a word to the end of the word and adding a vocalic syllable to create such a suffix. For example, Wikipedia would become Ikipediaway (taking the 'W' and 'ay' to create a suffix). The objective is to conceal the words from others not familiar with the rules. The reference to Latin is a deliberate misnomer; Pig Lati Ea...

---

<div class="post-metadata">

**Author:** ![lpc2148](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9de053/32.png) [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Post date:** [August 21, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/does-ruby-have-source-filters/146474/5 "2008-08-21T16:08:14Z")

</div>

Clinton D. Judy wrote:

> You have to actually call it by its foreign name. Like  
> Ilterfay::Implesay.

What is Ilterfay::Implesay? Neither google , nor rubyforge returns any  
results.
