Skip to content

Commit 2fafe0b

Browse files
committed
Add YARD documentation
1 parent 52e6707 commit 2fafe0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: ext/windows/service/daemon.rb

+4
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ def report_windows_event(type, id, message)
155155
end
156156
end
157157

158+
# Parses runinterval.
159+
#
160+
# @param puppet_path [String] The file path for the Puppet executable.
161+
# @return runinterval [Integer] How often to do a Puppet run, in seconds.
158162
def parse_runinterval(puppet_path)
159163
begin
160164
runinterval = %x(#{puppet_path} config --section agent --log_level notice print runinterval).to_i

0 commit comments

Comments
 (0)