File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33[ ![ Build Status] ( https://secure.travis-ci.org/rubyworks/main_like_module.png )] ( http://travis-ci.org/rubyworks/main_like_module )
44
5+
56__ DESCRIPTION__
67
78Did you know ` main ` ? Main is actually the special name Ruby gives
@@ -14,16 +15,16 @@ an self extended module, e.g.
1415
1516 module Toplevel
1617 extend self
17- # ruby is excuted here
18+ # ruby is executed here
1819 end
1920
20- This would have a couple of signifficant benefits. First, the toplevel
21- would no longer polute every other object in the system. And second,
22- the toplevel would be a fully operation module context.
21+ This would have a couple of significant benefits. First, the toplevel
22+ would no longer pollute every other object in the system. And second,
23+ the toplevel would be a fully operational module context.
2324
24- Alas, so far, no avail. But there is alwasy hope. But in the mean time,
25- we can at least support the second point mentioned by completing the
26- proxy, making it emulate the Object class context in full. And that's
25+ Alas, so far, no avail. But there's always hope. In the mean time,
26+ we can at least support the second point by completing the proxy,
27+ making it emulate the Object class context in full. And that's
2728exactly what Main Like Module does.
2829
2930
You can’t perform that action at this time.
0 commit comments