Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Symbol#taguri= in Ruby



Hi all,

It's my first post.

On Fri, Feb 4, 2011 at 15:33, Josh Glover <jmglov@example.com> wrote:
>>  > http://stackoverflow.com/questions/4884025/in-the-context-of-ruby-symbols-what-does-taguri-mean
>>
>> 手繰る。
>>
>> Think "chain", not "rope".  Desho?
>
> It turns out that it was actually "tag uri". Why they didn't name the
> method tag_uri instead of taguri is beyond me. :)

It's monkey-patched by yaml lib, which was bundled with Ruby.

0% ruby -e 'p nil.taguri'
-e:1:in `<main>': undefined method `taguri' for nil:NilClass (NoMethodError)
1% ruby -ryaml -e 'p nil.taguri'
"tag:yaml.org,2002:null"

We don't have any Japanese related name ever, as far as I can remember. :-)

Regards,
// NaHi


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links