summaryrefslogtreecommitdiff
path: root/code/snippets/env_aint_a_hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/snippets/env_aint_a_hash.rb')
-rw-r--r--code/snippets/env_aint_a_hash.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/code/snippets/env_aint_a_hash.rb b/code/snippets/env_aint_a_hash.rb
new file mode 100644
index 0000000..0616c50
--- /dev/null
+++ b/code/snippets/env_aint_a_hash.rb
@@ -0,0 +1,3 @@
+puts ENV['EDITOR']
+puts ENV.has_key?('PATH')
+puts ENV.is_a?(Hash)