Module: Facter::Util::Values
- Included in:
- Confine
- Defined in:
- lib/facter/util/values.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) convert(value)
7 8 9 10 11 |
# File 'lib/facter/util/values.rb', line 7 def convert(value) value = value.to_s if value.is_a?(Symbol) value = value.downcase if value.is_a?(String) value end |