Module: Serverspec::Helper::Type

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

Instance Method Summary collapse

Instance Method Details

#camelize(string) ⇒ Object



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

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