Class: String

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

Instance Method Summary collapse

Instance Method Details

#upcase?Boolean

Returns:

  • (Boolean)


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

def upcase?
  self.upcase == self && !(0..9).to_a.map{|i| i.to_s}.include?(self)
end