Sha256: b49660fc5b5528883214d1bf1a13f0d8119339762987c8eba236008e38fb8ac7

Contents?: true

Size: 344 Bytes

Versions: 5

Compression:

Stored size: 344 Bytes

Contents

module FunWith
  module Files
    module CoreExtensions
      module String
        def fwf_blank?
          self.strip.length == 0
        end
  
        def fwf_filepath( *args )
          FunWith::Files::FilePath.new( self, *args )
        end
  
        def to_pathname
          Pathname.new( self )
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fun_with_files-0.0.18 ./lib/fun_with/files/core_extensions/string.rb
fun_with_files-0.0.15 ./lib/fun_with/files/core_extensions/string.rb
fun_with_files-0.0.14 ./lib/fun_with/files/core_extensions/string.rb
fun_with_files-0.0.13 ./lib/fun_with/files/core_extensions/string.rb
fun_with_files-0.0.12 ./lib/fun_with/files/core_extensions/string.rb