class String
extracted from Extlib. FIXME: what's the licensing here?
Public Instance Methods
blank?()
click to toggle source
# File lib/visage-app/patches.rb, line 9 def blank? strip.empty? end
camel_case()
click to toggle source
# File lib/visage-app/patches.rb, line 4 def camel_case return self if self !~ /_/ && self =~ /[A-Z]+.*/ split('_').map{|e| e.capitalize}.join end