Sha256: 489fb5b3211a73ec13a5e4bc0e632206ab8e868648e0611effcefce318b40868

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

module FunWith
  module Files
    module CoreExtensions
      module File
        def fwf_filepath( *args )
          FunWith::Files::FilePath.new( self.path, *args )
        end
        
        # I'm not sure this is the most intuitive meaning, but it seems better than
        # delegating to Object.
        def fwf_blank?
          ! self.fwf_filepath.exist?
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fun_with_files-0.0.18 ./lib/fun_with/files/core_extensions/file.rb
fun_with_files-0.0.15 ./lib/fun_with/files/core_extensions/file.rb