Ticket #21 (closed defect: fixed)
require doesn't throw LoadError
| Reported by: | defunkt | Owned by: | why |
|---|---|---|---|
| Milestone: | Raisins | Keywords: | |
| Cc: |
Description
It seems that calling require on a nonexistant file ruins poor Shoes.
Take this piece of code:
begin require 'rubygems'; rescue LoadError; end
Perfectly defensive, yet Shoes gives this error:
wrong argument type FalseClass (expected Proc) * (eval)
Loving this little toolkit!
Change History
Note: See
TracTickets for help on using
tickets.
