rails/activesupport/test/empty_bool.rb
Santiago Pastorino c10958fbdd avoid method redefined; discarding old empty? warning [#4302 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-03-30 16:59:48 -07:00

8 lines
93 B
Ruby

class EmptyTrue
def empty?() true; end
end
class EmptyFalse
def empty?() false; end
end