vendor/bundle/ruby/1.8/gems/facter-1.6.5/lib/facter/util/collection.rb
def fact(name)
    name = canonize(name)

    # Try to load the fact if necessary
    loader.load(name) unless @facts[name]

    # Try HARDER
    loader.load_all unless @facts[name]

    @facts[name]
  end
# Return a fact by name.
Return a fact by name.
Return a fact by name .
def fact(name)
    name = canonize(name)
    loader.load(name) unless @facts[name]
    loader.load_all unless @facts[name]
    @facts[name]
  end
def fact ( name ) name = canonize ( name ) loader . load ( name ) unless @facts [ name ] loader . load_all unless @facts [ name ] @facts [ name ] end
Return a fact by name.
Return a fact by name .
# Try to load the fact if necessary # Try HARDER
name