Sha256: 842161bb5982275d51a25176abfad62b53a3a4f8fb0d81a20b308d2a829244e3

Contents?: true

Size: 902 Bytes

Versions: 2

Compression:

Stored size: 902 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.1 features/support/file_cases/naming_cases.rb
tailor-1.0.0 features/support/file_cases/naming_cases.rb