Class: String

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

Overview

Monkey Patch String class

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) blank?



3
4
5
# File 'lib/ratatouille/string.rb', line 3

def blank?
  return self.chomp.empty?
end