Method: ShellHelpers::PathnameExt::Base#read!

Defined in:
lib/shell_helpers/pathname.rb

#read!Object

like read, but output nil rather than an exception if the file does not exist



103
104
105
106
107
# File 'lib/shell_helpers/pathname.rb', line 103

def read!
    read
rescue
  nil
end