Sha256: a55cb56e249f85358fa093b9584a1b47d3200d79c2e2e4ae8c9089dde4038b9c

Contents?: true

Size: 172 Bytes

Versions: 110

Compression:

Stored size: 172 Bytes

Contents

module ConverterHelper
  extend ActionView::Helpers::NumberHelper

  def self.human_binary_length(obj)
    number_to_human_size(obj.binary_length) if obj.binary?
  end
end

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
scrivito_content_browser-1.5.1 app/helpers/converter_helper.rb
scrivito_content_browser-1.5.1.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.5.1.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.5.0 app/helpers/converter_helper.rb
scrivito_content_browser-1.5.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.5.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.4.2 app/helpers/converter_helper.rb
scrivito_content_browser-1.4.1 app/helpers/converter_helper.rb
scrivito_content_browser-1.4.1.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.4.0 app/helpers/converter_helper.rb
scrivito_content_browser-1.4.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.4.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.3.1 app/helpers/converter_helper.rb
scrivito_content_browser-1.3.1.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.3.0 app/helpers/converter_helper.rb
scrivito_content_browser-1.3.0.rc3 app/helpers/converter_helper.rb
scrivito_content_browser-1.3.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.3.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.2.0 app/helpers/converter_helper.rb
scrivito_content_browser-1.2.0.rc3 app/helpers/converter_helper.rb