Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/ext/string.rb

Instance Method Summary collapse

Instance Method Details

#/(s) ⇒ Object



2
3
4
# File 'lib/ext/string.rb', line 2

def /(s)
  File.join(self, s)
end

#blank?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/ext/string.rb', line 5

def blank?
  self == ""
end