class String
Monkey-patches `String` to add helper methods
Public Instance Methods
decamelize()
click to toggle source
# File lib/iface/config_file.rb, line 8 def decamelize gsub(/[A-Z]/) { |m| $` == '' ? m.downcase : "_#{m.downcase}" } end