README.md in lucky_case-1.0.1 vs README.md in lucky_case-1.0.2
- old
+ new
@@ -53,10 +53,10 @@
LuckyCase.capital('example') # => 'Example'
LuckyCase.capitalize('example') # => 'Example'
LuckyCase.constantize('some_constant') # => SomeConstant
LuckyCase.constantize('SOME_CONSTANT') # => SomeConstant
LuckyCase.constantize('some/path_example/folder') # => Some::PathExample::Folder
-LuckyCase.deconstantize(SomeConstant) # => 'some_constant'
+LuckyCase.deconstantize(SomeConstant) # => 'some_constant' // default case_type: :snake_case
LuckyCase.deconstantize(Some::PathExample::Folder, case_type: :camel_case) # => 'some/pathExample/folder'
# identifiers
LuckyCase.case('this_can_only_be_snake_case') # => :snake_case
LuckyCase.cases('validformultiple') # => [ :snake_case, :camel_case, :dash_case, :word_case ]