diff options
author | Tim Smith <tsmith@chef.io> | 2018-05-17 20:36:04 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-05-17 20:36:04 -0700 |
commit | 921ac5d2327f9f982a2677b9c9767f226b4ec0a9 (patch) | |
tree | 977161d8bfab18a72a5ed9b15a1042d47b282cfe /lib/ohai/hints.rb | |
parent | 750724985516bc2569afe95044117ade50ff8aab (diff) | |
download | ohai-921ac5d2327f9f982a2677b9c9767f226b4ec0a9.tar.gz |
Add more yard commentscomments
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/ohai/hints.rb')
-rw-r--r-- | lib/ohai/hints.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ohai/hints.rb b/lib/ohai/hints.rb index 7a32c7d5..a3501ea0 100644 --- a/lib/ohai/hints.rb +++ b/lib/ohai/hints.rb @@ -26,7 +26,8 @@ module Ohai @hints = {} end - # parse the JSON conents of a hint file + # parse the JSON conents of a hint file. Return an empty hash if the file has + # no JSON content # @param filename [String] the hint file path def self.parse_hint_file(filename) json_parser = FFI_Yajl::Parser.new |