diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-03-30 20:53:44 -0300 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-03-30 16:59:48 -0700 |
commit | c10958fbddb22052e7cbe5fe6b825cda3cb26e48 (patch) | |
tree | 8a2da8223cd1f7ffaebc9927163a9f3c4b987958 /activesupport/test/empty_bool.rb | |
parent | 7d0eea179b15c888d8e66654ea7922a9d70831e5 (diff) | |
download | rails-c10958fbddb22052e7cbe5fe6b825cda3cb26e48.tar.gz rails-c10958fbddb22052e7cbe5fe6b825cda3cb26e48.tar.bz2 rails-c10958fbddb22052e7cbe5fe6b825cda3cb26e48.zip |
avoid method redefined; discarding old empty? warning [#4302 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'activesupport/test/empty_bool.rb')
-rw-r--r-- | activesupport/test/empty_bool.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/test/empty_bool.rb b/activesupport/test/empty_bool.rb new file mode 100644 index 0000000000..005b3523ef --- /dev/null +++ b/activesupport/test/empty_bool.rb @@ -0,0 +1,7 @@ +class EmptyTrue + def empty?() true; end +end + +class EmptyFalse + def empty?() false; end +end |