passwd.rb

Path: lib/ohai/plugins/passwd.rb
Last Update: Thu Jan 17 19:03:16 +0000 2013
dot/f_0.png

Required files

etc  

Methods

Public Instance methods

[Source]

   # File lib/ohai/plugins/passwd.rb, line 5
5: def fix_encoding(str)
6:   str.force_encoding(Encoding.default_external) if str.respond_to?(:force_encoding)
7:   str
8: end

[Validate]