[
https://issues.apache.org/jira/browse/BUILDR-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626714#action_12626714
]
lacton commented on BUILDR-140:
-------------------------------
I used const_defined? for Emma and Cobertura because the tests load
repetitively the same ruby file, and some constants get defined again and
again. That would not be an issue if only ruby was not displaying ugly
warnings among the rspec output.
Still, I feel there must be a better way too.
> Get rid of const_defined? all across the board
> ----------------------------------------------
>
> Key: BUILDR-140
> URL: https://issues.apache.org/jira/browse/BUILDR-140
> Project: Buildr
> Issue Type: Improvement
> Reporter: Assaf Arkin
>
> a) doesn't work with Ruby 1.9.
> b) not pretty.
> c) must be a better way.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.