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.2.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.2.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.1.1 app/helpers/converter_helper.rb
scrivito_content_browser-1.1.0 app/helpers/converter_helper.rb
scrivito_content_browser-1.1.0.rc3 app/helpers/converter_helper.rb
scrivito_content_browser-1.1.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.1.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-1.0.0 app/helpers/converter_helper.rb
scrivito_content_browser-1.0.0.rc4 app/helpers/converter_helper.rb
scrivito_content_browser-1.0.0.rc3 app/helpers/converter_helper.rb
scrivito_content_browser-1.0.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-1.0.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-0.90.0 app/helpers/converter_helper.rb
scrivito_content_browser-0.90.0.rc3 app/helpers/converter_helper.rb
scrivito_content_browser-0.90.0.rc2 app/helpers/converter_helper.rb
scrivito_content_browser-0.90.0.rc1 app/helpers/converter_helper.rb
scrivito_content_browser-0.70.2 app/helpers/converter_helper.rb
scrivito_content_browser-0.71.2 app/helpers/converter_helper.rb
scrivito_content_browser-0.71.1 app/helpers/converter_helper.rb
scrivito_content_browser-0.70.1 app/helpers/converter_helper.rb