Module: Serverspec::Helper::Type

Defined in:
lib/serverspec/helper/type.rb

Instance Method Summary collapse

Instance Method Details

#camelize(string) ⇒ Object



18
19
20
# File 'lib/serverspec/helper/type.rb', line 18

def camelize(string)
  string.split("_").each {|s| s.capitalize! }.join("")
end