diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-02 01:09:35 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-02 09:59:42 -0800 |
commit | 355dab7d84e0baeec896c2efc1744785a782da35 (patch) | |
tree | 79fdb10b87075657de8ff68f7301d586594a1080 /lib/rainbows/ev_core.rb | |
parent | f2dc198ae1d145743860ab7d4f523d54eafd4ca1 (diff) | |
download | rainbows-355dab7d84e0baeec896c2efc1744785a782da35.tar.gz |
Since const_get works with a string as well as a symbol, allow that to be used. It's easier and simpler to just allow strings as use arguments than to error check and raise exceptions. So both of the following should now work: Rainbows! do use :Revactor end Rainbows! do use "Revactor" end Rainbows! will always use the symbol variant internally, however, so applications can alway expect env['rainbows.model'] to be a symbol.
Diffstat (limited to 'lib/rainbows/ev_core.rb')
0 files changed, 0 insertions, 0 deletions