module Pretentious::DdtUtils

misc convenience tools

Public Class Methods

to_underscore(str) click to toggle source
# File lib/pretentious.rb, line 71
def self.to_underscore(str)
  str.gsub(/(.)([A-Z])/, '\1_\2').downcase
end