class Rockstar::RockstarTransformer

Public Class Methods

to_snake_case(str) click to toggle source
# File lib/rockstar/rockstar_transformer.rb, line 77
def self.to_snake_case(str)
  str.to_s.downcase.gsub(/\s+/, '_')
end