summaryrefslogtreecommitdiffstats
path: root/lib/facter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/facter.rb')
-rw-r--r--lib/facter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/facter.rb b/lib/facter.rb
index d75f275..6e05495 100644
--- a/lib/facter.rb
+++ b/lib/facter.rb
@@ -120,7 +120,7 @@ module Facter
name = name.to_s.sub(/\?$/,'')
end
- if fact = @collection.fact(name)
+ if fact = collection.fact(name)
if question
value = fact.value.downcase
args.each do |arg|