Sha256: 5dd6fa2c6ce2175d4cc5c4673f5a09f0854e0f9a20b4bde504740aca9c453fe5

Contents?: true

Size: 903 Bytes

Versions: 2

Compression:

Stored size: 903 Bytes

Contents

NAMING_OK = {}
NAMING_1 = {}

NAMING_OK[:single_word_method] =
  %Q{def thing
end}

NAMING_OK[:two_word_method] =
  %Q{def thing_one
end}

NAMING_1[:one_caps_camel_case_method] =
  %Q{def thingOne
end}

NAMING_1[:one_caps_camel_case_method_trailing_comment] =
  %Q{def thingOne   # comment
end}

#-------------------------------------------------------------------------------
NAMING_OK[:single_word_class] =
  %Q{class Thing
end}

NAMING_OK[:single_word_module] =
  %Q{module Thing
end}

NAMING_OK[:two_word_class] =
  %Q{class ThingOne
end}

NAMING_OK[:two_word_module] =
  %Q{module ThingOne
end}

NAMING_1[:one_screaming_snake_case_class] =
  %Q{class Thing_One
end}

NAMING_1[:one_screaming_snake_module_class] =
  %Q{module Thing_One
end}

NAMING_1[:two_screaming_snake_case_class] =
  %Q{class Thing_One_Again
end}

NAMING_1[:two_screaming_snake_module_class] =
  %Q{module Thing_One_Again
end}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailor-1.0.0.alpha2 features/support/file_cases/naming_cases.rb
tailor-1.0.0.alpha features/support/file_cases/naming_cases.rb