Class: String

Inherits:
Object show all
Defined in:
lib/fun_with/files/core_extensions/string.rb

Instance Method Summary collapse

Instance Method Details

#fwf_blank?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/fun_with/files/core_extensions/string.rb', line 2

def fwf_blank?
  self.strip.length == 0
end

#fwf_filepath(*args) ⇒ Object



6
7
8
# File 'lib/fun_with/files/core_extensions/string.rb', line 6

def fwf_filepath( *args )
  FunWith::Files::FilePath.new( self, *args )
end