File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ def inspect
189189 "\# <#{ self . class } name=#{ @name . inspect } status=#{ @status . inspect } pid=#{ @pid . inspect } >"
190190 end
191191
192+ # @returns [String] A string representation of the process.
192193 alias to_s inspect
193194
194195 # Invoke {#terminate!} and then {#wait} for the child process to exit.
Original file line number Diff line number Diff line change @@ -14,11 +14,14 @@ class Log < Client
1414 # The name of the environment variable which contains the path to the notification socket.
1515 NOTIFY_LOG = "NOTIFY_LOG"
1616
17+ # @returns [String] The path to the notification log file.
18+ # @parameter environment [Hash] The environment variables, defaults to `ENV`.
1719 def self . path ( environment = ENV )
1820 environment [ NOTIFY_LOG ]
1921 end
2022
2123 # Open a notification client attached to the current {NOTIFY_LOG} if possible.
24+ # @parameter environment [Hash] The environment variables, defaults to `ENV`.
2225 def self . open! ( environment = ENV )
2326 if path = self . path ( environment )
2427 self . new ( path )
You can’t perform that action at this time.
0 commit comments