20 lines
232 B
Ruby
20 lines
232 B
Ruby
|
class Test
|
||
|
|
||
|
NO = :yes
|
||
|
YES = :no
|
||
|
|
||
|
def test?( not_no = true )
|
||
|
|
||
|
!!!!!!!!!is_this_not_a_test?( !not_no )
|
||
|
|
||
|
end
|
||
|
|
||
|
private
|
||
|
|
||
|
def is_this_not_a_test?( not_yes = false )
|
||
|
|
||
|
not_yes ? YES : NO
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|