Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/echoe/extensions.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#any?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/echoe/extensions.rb', line 7

def any?
  size > 0
end

#uncapitalizeObject

:nodoc:



3
4
5
# File 'lib/echoe/extensions.rb', line 3

def uncapitalize #:nodoc:
  "#{self[0..0].downcase}#{self[1..-1]}"
end