summaryrefslogtreecommitdiffstats
path: root/lib/facter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter.rb')
-rw-r--r--lib/facter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter.rb b/lib/facter.rb
index 985b0d2..57711f5 100644
--- a/lib/facter.rb
+++ b/lib/facter.rb
@@ -12,7 +12,7 @@ class Facter
include Enumerable
FACTERVERSION = '1.2.1'
- # = Facter 1.0
+ # = Facter
# Functions as a hash of 'facts' you might care about about your
# system, such as mac address, IP address, Video card, etc.
# returns them dynamically
@@ -493,7 +493,7 @@ class Facter
end
retval = @values.find { |v|
- if value == v
+ if value.downcase == v.downcase
break true
end
}