Permalink
Browse files

Facter::Util::Resolution still a work in progress

  • Loading branch information...
1 parent 58bf2ff commit 2617195ac87f1ee41f0e0b5cf4da18f916d551c7 @cosimo committed Nov 21, 2010
Showing with 21 additions and 9 deletions.
  1. +21 −9 lib/Facter/Util/{resolution.rb → Resolution.pm}
@@ -1,14 +1,26 @@
-# An actual fact resolution mechanism. These are largely just chunks of
-# code, with optional confinements restricting the mechanisms to only working on
-# specific systems. Note that the confinements are always ANDed, so any
-# confinements specified must all be true for the resolution to be
-# suitable.
-require 'facter/util/confine'
+=begin pod
-require 'timeout'
-require 'rbconfig'
+=head1 NAME
+
+Facter::Util::Resolution
+
+=head1 DESCRIPTION
+
+An actual fact resolution mechanism. These are largely just chunks of
+code, with optional confinements restricting the mechanisms to only working on
+specific systems. Note that the confinements are always ANDed, so any
+confinements specified must all be true for the resolution to be
+suitable.
+
+=end pod
+
+class Facter::Util::Resolution;
+
+use Facter::Util::Confine;
+
+#require 'timeout'
+#require 'rbconfig'
-class Facter::Util::Resolution
attr_accessor :interpreter, :code, :name, :timeout
WINDOWS = Config::CONFIG['host_os'] =~ /mswin|win32|dos|mingw|cygwin/i

0 comments on commit 2617195

Please sign in to comment.