lib/app_info/dsym.rb in app-info-2.5.4 vs lib/app_info/dsym.rb in app-info-2.6.0

- old
+ new

@@ -1,9 +1,8 @@ # frozen_string_literal: true require 'macho' -require 'app_info/util' module AppInfo # DSYM parser class DSYM attr_reader :file @@ -128,12 +127,12 @@ def type @file.filetype end - def size(humanable = false) - return Util.size_to_humanable(@size) if humanable + def size(human_size: false) + return Util.size_to_human_size(@size) if human_size @size end def uuid @@ -150,10 +149,10 @@ uuid: uuid, type: type, cpu_name: cpu_name, cpu_type: cpu_type, size: size, - humanable_size: size(true) + human_size: size(human_size: true) } end end end end