markdown/readme/Rakefile in debug_helper-1.8.0 vs markdown/readme/Rakefile in debug_helper-2.0.0

- old
+ new

@@ -28,10 +28,11 @@ Set String Struct Symbol Object + Custom / class_dir_names = [] correct_dir_names = { :IO => 'io', :MatchData => 'match_data', @@ -65,10 +66,10 @@ :io => 'IO', :match_data => 'MatchData', :open_struct => 'OpenStruct', } class_dir_names.each do |class_dir_name| - next if class_dir_name == 'object' + next if %w/object custom/.include?(class_dir_name) if correct_class_names.include?(class_dir_name.to_sym) class_name = correct_class_names.fetch(class_dir_name.to_sym) else class_name = class_dir_name.capitalize end \ No newline at end of file