Re: Need feedback on improving Ruby code
- From: Jan Friedrich <frdrch@xxxxxxxxx>
- Date: Fri, 16 Mar 2007 19:58:28 +0100
bcparanj@xxxxxxxxx schrieb:
assert_equal r.dynamic_method_list.size, 3Beware the assert_* methods expect at first parameter the *expected*
value and at second parameter the *actual* vale! Have a look at
http://ruby-doc.org/stdlib/libdoc/test/unit/rdoc/classes/Test/Unit/Assertions.html#M004436
regards
Jan
.
- References:
- Need feedback on improving Ruby code
- From: bcparanj@xxxxxxxxx
- Need feedback on improving Ruby code
- Prev by Date: Re: Capistrano/Rake integration is deprecated
- Next by Date: Re: attr_protected macro
- Previous by thread: Need feedback on improving Ruby code
- Index(es):
Relevant Pages
|