From c10958fbddb22052e7cbe5fe6b825cda3cb26e48 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 30 Mar 2010 20:53:44 -0300 Subject: avoid method redefined; discarding old empty? warning [#4302 state:committed] Signed-off-by: Jeremy Kemper --- activesupport/test/empty_bool.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 activesupport/test/empty_bool.rb (limited to 'activesupport/test/empty_bool.rb') 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 -- cgit v1.2.3