Sha256: b444c0a91f3c154147cf29863f9d675cdc84dc99567a32121bfc98d64feee054

Contents?: true

Size: 1007 Bytes

Versions: 2

Compression:

Stored size: 1007 Bytes

Contents

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: By default, camelize converts strings to UpperCamelCase. If the argument to camelize is set to ":lower" then camelize produces lowerCamelCase.
- !ruby/struct:SM::Flow::P 
  body: camelize will also convert '/' to '::' which is useful for converting paths to namespaces
- !ruby/struct:SM::Flow::P 
  body: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  Style.camelize("active_record")               #=> "ActiveRecord"\n  Style.caemlize("active_record", true)         #=> "activeRecord"\n  Style.camelize("active_record/errors")        #=> "ActiveRecord::Errors"\n  Style.camelize("active_record/errors",true)   #=> "activeRecord::Errors"\n"
full_name: String::Style::camelize
is_singleton: true
name: camelize
params: (snakecase_word, first_letter_in_uppercase = true)
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/String/Style/camelize-c.yaml
facets-2.4.3 doc/ri/String/Style/camelize-c.yaml