lib/icarus/mod/tools/toolinfo.rb in Icarus-Mod-Tools-2.0.4 vs lib/icarus/mod/tools/toolinfo.rb in Icarus-Mod-Tools-2.1.0
- old
+ new
@@ -13,13 +13,9 @@
def fileType
@data[:fileType] || "zip"
end
# rubocop:enable Naming/MethodName
- def to_h
- HASHKEYS.each_with_object({}) { |key, hash| hash[key] = @data[key] }
- end
-
private
def filetype_pattern
/(zip|exe)/i
end