From 8af635c107395d1cd219997107a702d32242c1ea Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 7 Mar 2024 09:44:17 +0000 Subject: [PATCH] Add test.rb --- test.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test.rb diff --git a/test.rb b/test.rb new file mode 100644 index 0000000..12deb69 --- /dev/null +++ b/test.rb @@ -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 \ No newline at end of file