Method: TTY::Command::Cmd#umask

Defined in:
lib/tty/command/cmd.rb

#umask(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



95
96
97
98
99
# File 'lib/tty/command/cmd.rb', line 95

def umask(value)
  return value unless options[:umask]

  %(umask #{options[:umask]} && %s) % [value]
end