aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/core_ext/boolean.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-11-24 22:45:27 -0800
committerelijah <elijah@riseup.net>2014-11-24 22:45:27 -0800
commitb839376a507e37a048ea2df53127ed0884310f60 (patch)
tree68ba30a77c51a3ee1a2c9ddd7187e6743cff08f1 /lib/leap_cli/core_ext/boolean.rb
parent8450768268c2bdf82cd6d6bfa9972c70bc5cdcac (diff)
downloadleap_cli-develop.tar.gz
leap_cli-develop.tar.bz2
moved core_ext and lib_ext under leap_clidevelop
Diffstat (limited to 'lib/leap_cli/core_ext/boolean.rb')
-rw-r--r--lib/leap_cli/core_ext/boolean.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/leap_cli/core_ext/boolean.rb b/lib/leap_cli/core_ext/boolean.rb
new file mode 100644
index 0000000..9b617b2
--- /dev/null
+++ b/lib/leap_cli/core_ext/boolean.rb
@@ -0,0 +1,14 @@
+#
+# make is_a?(Boolean) possible.
+#
+
+module Boolean
+end
+
+class TrueClass
+ include Boolean
+end
+
+class FalseClass
+ include Boolean
+end \ No newline at end of file