module FunWith::Files::CoreExtensions::File

Public Instance Methods

fwf_blank?() click to toggle source

I'm not sure this is the most intuitive meaning, but it seems better than delegating to Object.

# File lib/fun_with/files/core_extensions/file.rb, line 11
def fwf_blank?
  ! self.fwf_filepath.exist?
end
fwf_filepath( *args ) click to toggle source
# File lib/fun_with/files/core_extensions/file.rb, line 5
def fwf_filepath( *args )
  FunWith::Files::FilePath.new( self.path, *args )
end