Class: String

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

Instance Method Summary collapse

Instance Method Details

#constantizeObject



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

def constantize
  Chassis::StringUtils.constantize self
end

#demodulizeObject



6
7
8
# File 'lib/chassis/core_ext/string.rb', line 6

def demodulize
  Chassis::StringUtils.demodulize self
end

#underscoreObject



10
11
12
# File 'lib/chassis/core_ext/string.rb', line 10

def underscore
  Chassis::StringUtils.underscore self
end