diff options
author | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-30 23:49:26 +0000 |
---|---|---|
committer | luke <luke@1f5c1d6a-bddf-0310-8f58-fc49e503516a> | 2006-05-30 23:49:26 +0000 |
commit | c7cfd0812577df8f678b65093f746d7ae651994c (patch) | |
tree | 458c81656e22404e82e4f85566c22f06933b5b7d /lib/facter.rb | |
parent | 59cea90bd77383b9aa70e9ba41a54428f21b0538 (diff) | |
download | facter-c7cfd0812577df8f678b65093f746d7ae651994c.tar.gz facter-c7cfd0812577df8f678b65093f746d7ae651994c.tar.xz facter-c7cfd0812577df8f678b65093f746d7ae651994c.zip |
Adding patch from #11, with slight modifications.
git-svn-id: http://reductivelabs.com/svn/facter/trunk@119 1f5c1d6a-bddf-0310-8f58-fc49e503516a
Diffstat (limited to 'lib/facter.rb')
-rw-r--r-- | lib/facter.rb | 4 |
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 } |