Module: Serverspec::Helper::Type

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

Instance Method Summary collapse

Instance Method Details

#camelize(string) ⇒ Object


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

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