lib/intact_case/modules.rb
def tokenize(delimiter = '_', raw_first = false)
          if /[A-Z]/ =~ self then
            _tokenize_from_camelized(delimiter, raw_first)
          else
            _tokenize_from_delimiterized(delimiter)
          end
        end
#
# Explode compound words to tokens.
#
# @author StewEucen
# @example Tokens from compound words.
#   'camelCase'.tokenize            #=> ['Camel', 'Case']
#   'camelCase'.tokenize('_', true) #=> ['camel', 'Case']
#   'StudlyCaps'.tokenize           #=> ['Studly', 'Caps']
#   'snake_case'.tokenize           #=> ['snake', 'case']
#   'get_utc__day'.tokenize         #=> ['get', 'utc_', 'day']
# @param  [string] delimiter Delimiter.
# @param  [boolean] raw_first Keep raw first word in tokens for camelCase.
# @return [array] Tokens except delimiter between acronym.
# @see    _tokenize_from_camelized, _tokenize_from_delimiterized
# @since  Release 1.0.0
#
Explode compound words to tokens.
Explode compound words to tokens .
def tokenize(delimiter = '_', raw_first = false)
          if /[A-Z]/ =~ self then
            _tokenize_from_camelized(delimiter, raw_first)
          else
            _tokenize_from_delimiterized(delimiter)
          end
        end
def tokenize ( delimiter = '_' , raw_first = false ) if / [A-Z] / =~ self then _tokenize_from_camelized ( delimiter , raw_first ) else _tokenize_from_delimiterized ( delimiter ) end end
Explode compound words to tokens.
Explode compound words to tokens .
Tokens except delimiter between acronym.
Tokens except delimiter between acronym .
array
delimiter
raw_first
raw_first Keep raw first word in tokens for camelCase.
raw_first Keep raw first word in tokens for camelCase .
author
None
example
Tokens from compound words.
Tokens from compound words .
see
None
since
None