lib/puppet/type/cron.rb
def numfix(num)
      if num.is_a?(Integer) || num =~ %r{^\d+$}
        num
      else
        false
      end
    end
# A method used to do parameter input handling.  Converts integers
# in string form to actual integers, and returns the value if it's
# an integer or false if it's just a normal string.
A method used to do parameter input handling.  Converts integers
in string form to actual integers, and returns the value if it's
an integer or false if it's just a normal string.
A method used to do parameter input handling . Converts integers in string form to actual integers and returns the value if it ' s an integer or false if it ' s just a normal string .
def numfix(num)
      if num.is_a?(Integer) || num =~ %r{^\d+$}
        num
      else
        false
      end
    end
def numfix ( num ) if num . is_a? ( Integer ) || num =~ %r{ ^ \d +$ } num else false end end
A method used to do parameter input handling.
A method used to do parameter input handling .
num