1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--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

7 lines
93 B
Ruby

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