Skip to content

Commit 4f0e13c

Browse files
committed
Add YARD documentation
(cherry picked from commit 2fafe0b)
1 parent 19caf04 commit 4f0e13c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/windows/service/daemon.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ def report_windows_event(type,id,message)
159159
end
160160
end
161161

162+
# Parses runinterval.
163+
#
164+
# @param puppet_path [String] The file path for the Puppet executable.
165+
# @return runinterval [Integer] How often to do a Puppet run, in seconds.
162166
def parse_runinterval(puppet_path)
163167
begin
164168
runinterval = %x{ #{puppet_path} config --section agent --log_level notice print runinterval }.to_i

0 commit comments

Comments
 (0)