Re: [rbx ] include_remove

看板Ruby作者 (godfat 真常)時間16年前 (2008/11/03 22:39), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
※ 引述《godfat (godfat 真常)》之銘言: : 噢,我記得之前還有看過一個 readme 寫很長的,不過名字忘記了, 啊,運氣好,碰巧看到 http://github.com/why/mixico/tree/master 來自這頁: http://hackety.org/2008/10/06/mixingOurWayOutOfInstanceEval.html 之前在 ruby-core 上討論 instance "evil" 和 DSL 的地方看來的 RSpec 也有用這爛招 http://rspec.lighthouseapp.com/projects/5645/tickets/ 564-ruby-19-compat-constant-lookup-rules 縮 http://tinyurl.com/6qawor 對不起,有點想幸災樂禍 orz 因為我不喜歡他的作法,到 1.9 死了吧... 1.8 的 const lookup 實在是有點討厭。 我自己的 test case 必須用 method 去 wrap const, 不然很難處理 -- Hear me exalted spirits. Hear me, be you gods or devils, ye who hold dominion here: I am a wizard without a home. I am a wonderer seeking refuge. Sacrifice -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.28.18
文章代碼(AID): #193mqQA3 (Ruby)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):
文章代碼(AID): #193mqQA3 (Ruby)