saiqulhaq/case_transform

View on GitHub

Showing 3 of 3 total issues

Similar blocks of code found in 2 locations. Consider refactoring.
Open

def dash(value) # rubocop:disable Metrics/MethodLength
case value
when Array
value.map { |item| dash(item) }
when Hash
Severity: Minor
Found in lib/case_transform2.rb and 1 other location - About 50 mins to fix
lib/case_transform2.rb on lines 14..25

Similar blocks of code found in 2 locations. Consider refactoring.
Open

def camel(value) # rubocop:disable Metrics/MethodLength
case value
when Array
value.map { |item| camel(item) }
when Hash
Severity: Minor
Found in lib/case_transform2.rb and 1 other location - About 50 mins to fix
lib/case_transform2.rb on lines 52..63

Script file console doesn't have execute permission.
Open

#!/usr/bin/env ruby
Severity: Minor
Found in bin/console by rubocop
Severity
Category
Status
Source
Language