Method: Inspec::Resources::File#writable?
- Defined in:
- lib/resources/file.rb
#writable?(by_usergroup, by_specific_user) ⇒ Boolean
50 51 52 53 54 |
# File 'lib/resources/file.rb', line 50 def writable?(by_usergroup, by_specific_user) return false unless exist? ('w', by_usergroup, by_specific_user) end |