Add test.rb

This commit is contained in:
ian 2024-03-07 09:44:17 +00:00
parent 977774c1f8
commit 8af635c107
1 changed files with 20 additions and 0 deletions

20
test.rb Normal file
View File

@ -0,0 +1,20 @@
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